On 2005-09-30 14:53, Eric Albert said:
>>>> configure:2482: checking for C compiler default output file name
>>>> configure:2485: gcc -isysroot /Developer/SDKs/MacOSX10.3.9.sdk -
>>>> Wl,-
>>>> syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk conftest.c >&5
>>>> /usr/bin/ld: -syslibroot: multiply specified
>>>> collect2: ld returned 1 exit status
>>>>
>>>> So I gather that gcc does not like those parameters, which I
>>>> confirmed
>>>> with my own little foo.c test file.
>>>
>>> Are you using GCC 4.0?
>>
>> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.
>> build 5226)
>>
>> From Xcode 2.2pr2.
>
>Try not setting LDFLAGS. Passing -isysroot to gcc might cause it to
>pass -isyslibroot to the linker if you're using gcc to link.
Well, if I do that, everything builds, but how can I be sure that it
actually used the 10.3.9 SDK?
Also, technote 2137, which I just discovered:
<http://developer.apple.com/technotes/tn2005/tn2137.html>
Shows using both CFLAGS and LDFLAGS as previously discussed in this
thread, so it seems that is the right way, and yet I get that "-
syslibroot: multiply specified" error when I try... what gives?
Thanks!
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden
This email sent to email@hidden