Re: SDK number and system version.
Re: SDK number and system version.
- Subject: Re: SDK number and system version.
- From: Sylvain Rondeau <email@hidden>
- Date: Tue, 29 May 2007 08:00:26 +0200
Thanks for the different answer.
Scott is right, my question was really simple :
I was wondering if there are so much difference between 10.3.0 and
10.3.9 system API. As my executable is built with the 10.3.9 sdk I
want to be sure that it runs on 10.3.5 and 10.3.6 ....
As I indicate the latest 10.3 API to the compiler, I don't want to
have any execution problem on previous system. But as only the minor
version number is different between 10.3.0 and 10.3.9, I don't know
which number I have to check and if the system behaviour has changed
in the range of system version.
Sylvain
-------------------
Sylvain Rondeau
Editions Diagonal
http://prolexis.com
Le 28 mai 07 à 21:40, Scott Tooker a écrit :
On May 28, 2007, at 8:24 AM, James Bucanek wrote:
Sylvain Rondeau <mailto:email@hidden> wrote (Monday, May
28, 2007 7:35 AM +0200):
In my application, I check the system version number in order to
inform the user if is system is too old tu run it. if I link the
executable (ppc part) with the system SDK named :
MacOSX10.3.9.sdk, do
I need to check if the host system revision is >= 10.3 or >=
10.3.9 ?
What kind of application are you building? If it's an application
bundle with an Info.plist, all you have to do is set the "Mac OS X
Deployment Target" property to the desired value, and the
operating system will do this checking for you.
By default "Mac OS X Deployment Target" is set to "Compiler
Default," which means that is it set to the version of the SDK you
linked to. So if you linked to the 10.3 SDK, the operating system
will refuse to load the application on any OS earlier than 10.3.
This is partially incorrect, though I can see why you might think
that. It is true that Xcode will go ahead and pass the proper Mac
OS X Deployment Target if you are using an SDK.
However, the actual default behavior of the compiler is more
complicated. For the 32-bit cases, the PowerPC side defaults to
10.1 and the Intel side defaults to 10.4. For 64-bit I believe the
default is 10.4.
It's a bug that Xcode doesn't properly reflect this in the UI (we
shouldn't show Compiler Default, since an actual value is getting
passed down).
Keep in mind that "Mac OS X Deployment Target" represents the
minimum major OS version that your executable will run on, and the
SDK points to the API that your executable will target. So the SDK
doesn't itself indicate the minimum system that you can run on, but
instead indicates the latest API that is available.
Scott
James Bucanek
____________________________________________________________________
Author of Beginning Xcode ISBN: 047175479X
<http://www.beginningxcode.com/>
_______________________________________________
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40prolexis.com
This email sent to email@hidden
_______________________________________________
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