Just one more thing...
Anders F Björklund
afb at algonet.se
Sun Feb 15 05:42:53 PST 2009
Michel Fortin wrote:
>> It still fails on Mac OS X 10.4, maybe it still used native SDK ?
>
> If you specify a SDK for the compiler, you should also tell the linker
> to use the SDK.
>
> -syslibroot /Developer/SDKs/MacOSX10.4u.sdk
>
> Or if you're passing the linker's argument through GCC instead of
> calling the linker directly:
>
> -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
>
> That's all explained in the document I linked to yesterday.
I thought GCC 4.0.1 and later did that for you automatically ?
i.e. passed -syslibroot to the linker when using -isysroot
--anders
More information about the Digitalmars-d-announce
mailing list