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

Reply via email to