Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version




On Jul 13, 2008, at 5:34 PM, YJZ wrote:

Included below please find the output of both using "gcc-4.2 -v":

Thanks, interesting...

This actually works for my GCC-mainline-hacked-MacPorts version:

$ /opt/casa/patch_3/3rd-party/libexec/gcc/i386-apple- darwin8.11.1/4.2.1/collect2 -dynamic -dylib -arch i386 - dylib_install_name /Users/raymond/gtk/inst/lib/libintl.8.dylib -L/opt/ casa/patch_3/3rd-party/lib/gcc42/gcc/i386-apple-darwin8.11.1/4.2.1 - macosx_version_min 10.4 -weak_reference_mismatches non-weak -o foo - lc -headerpad_max_install_names -framework CoreFoundation - compatibility_version 9 -current_version 9.1 -lgcc_s.10.4 -lgcc -lSystem


results in a (useless, since no object files are linked in) dynamic library.



I'll have to test this with my Apple-patched-hacked-Macports version...


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version (From: "YJZ" <email@hidden>)
 >Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version (From: Terry Lambert <email@hidden>)
 >Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version (From: Boyd Waters <email@hidden>)
 >Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version (From: "YJZ" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.