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 On Jul 13, 2008, at 8:44 PM, Peter O'Gorman wrote: This is what I committed when the gcc build problem was reported: http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commitdiff;h=eee885d7c58... Using sed to remove the '${wl}' from verstring in ltmain.sh before configure should work fine: sed -e '/verstring=/s/\${wl}//g' < ltmain.sh > ltmain.fixed; mv ltmain.fixed ltmain.sh Peter: This explanation helps me a *lot*, thanks! _______________________________________________ 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... Easiest solutions are to update the libtool version in the package that you are attempting to build (autoreconf -fi) or simple sed out ${wl} before the -compatibility_version etc in ltmain.sh In our collection of ~50 MacPorts, I've had to twiddle libtool in a number of them. I just applied a patch to the libtool script that comes with the package, essentially what your sed example does. Now I know why. This email sent to site_archiver@lists.apple.com
participants (1)
-
Boyd Waters