On Feb 1, 2006, at 2:54 PM, Martin Costabel wrote:
Just in case it helps anyone else, I found the solution to the error. Apple's TN 2137 recommends setting environment variables as such: env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \ LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" However, that results in a multiply specified error with ld: configure:3650: checking for C compiler default output configure:3653: gcc -O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk conftest.c >&5 /usr/bin/ld: -syslibroot: multiply specified collect2: ld returned 1 exit status /usr/bin/ld: -syslibroot: multiply specified collect2: ld returned 1 exit status In short, simply setting -isysroot is sufficient, as documented in this email: I have filed rdar://442920 pointing out the error in the technote. (libgmp still fails to build, but for a reason other than multiply specified ld parameters) Wade |
- [Fink-beginners] Question on universal builds of fink ... Wade Williams
- Re: [Fink-beginners] Question on universal builds... Alexander K. Hansen
- Re: [Fink-beginners] Question on universal bu... Wade Williams
- Re: [Fink-beginners] Question on universal bu... Martin Costabel
- Re: [Fink-beginners] Question on universa... Wade Williams
- Re: [Fink-beginners] Question on universal builds... Martin White
- Re: [Fink-beginners] Question on universal bu... Alexander K. Hansen
