Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version
Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version
- Subject: Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version
- From: Boyd Waters <email@hidden>
- Date: Sun, 13 Jul 2008 23:47:27 -0600
On Jul 13, 2008, at 8:44 PM, Peter O'Gorman wrote:
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
This is what I committed when the gcc build problem was reported:
http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commitdiff;h=eee885d7c58eea2b9fef52798ef2a1e7adb9be4f
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!
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.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden