Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Thunderbird 2.0.0.14 (X11/20080501) YJZ wrote:
Included below please find the output of both using "gcc-4.2 -v":
1) gettext 1.6 during "jhbuild bootstrap". This seems to fail regardless of whether "gcc_select" is set to 4.0 or 4.2, as long as "export CC=/usr/bin/gcc-4.2" is set.
ls -al /usr/bin/gcc lrwxr-xr-x 1 root wheel 7 Jul 13 18:32 /usr/bin/gcc -> gcc-4.0
echo $CC /usr/bin/gcc-4.2 -v
make ... /usr/bin/gcc-4.2 ... -Wl,-compatibility_version -Wl,9 -Wl,-current_version -Wl,9.1
This looks like a bug in GNU libtool that was fixed quite a while ago, at the time it only broke building gcc itself though. Updating the package to a later version of libtool should fix it. Please let me know the libtool version etc involved (./libtool --config in the build directory. Thanks, Peter -- Peter O'Gorman http://pogma.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter O'Gorman