Re: sdk 10.4 and 10.5
Re: sdk 10.4 and 10.5
- Subject: Re: sdk 10.4 and 10.5
- From: Chris Espinosa <email@hidden>
- Date: Thu, 23 Apr 2009 14:23:55 -0700
In every Xcode project there are sdk 10.4 or sdk 10.5, gcc-4.0 or gcc-4.2. What is the difference between sdk 10.4, sdk 10.5; what should I change if I wish program to work in both Tiger, Leopard? Can I compile gcc-4.0 for sdk 10.4?
You use the SDK that matches the feature set of the operating system that you want to take advantage of in your application. If you want 10.5 features, you have to use the 10.5 SDK. You can still allow your app to run on earlier versions, though, by setting the "Deployment Target" to 10.4 and writing conditional code.
You can compile with gcc 4.0 for both 10.4 and 10.5; you cannot use gcc 4.2 to build for 10.4.
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