Re: Xcode v2.5 no longer compiles project without errors
Re: Xcode v2.5 no longer compiles project without errors
- Subject: Re: Xcode v2.5 no longer compiles project without errors
- From: Chris Espinosa <email@hidden>
- Date: Sun, 6 Jan 2008 13:01:35 -0800
On Jan 6, 2008, at 12:37 PM, Thomas A. Creedon wrote: For my test case project I had selected the 10.4u SDK. Is there something else I need to change? Keeping in mind that this test case project was created with Xcode v2.5. In my "real" project I have selected the 10.3.9 SDK. My understanding is that 10.5 is not supported under Xcode v2.5 but that some older SDKs were supported. From what you say here it sounds as though only 10.4u is supported?
Thanks for any help.
On Sun, 6 Jan 2008 11:16:03 -0800, email@hidden wrote:
In both cases, you seem to be attempting to use Xcode 2.5 to build code
against the native Leopard headers and libraries, instead of using the
10.4u SDK. As stated pretty clearly in the release notes, this isn't
supported. You must use the 10.4u SDK when building with Xcode 2.5 on
Leopard.
cc -o hello hello.c
isn't using an SDK. It's invoking the default C compiler (in this context, Xcode 2.5's GCC) using the default sysroot (in this case, Leopard's headers and libraries).
If you are manually invoking the C compiler from a shell script, you must supply -isysroot ${SDKROOT} when invoking the compiler.
Chris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden