Re: 64-bit, 10.5/10.4, SDK build settings
Re: 64-bit, 10.5/10.4, SDK build settings
- Subject: Re: 64-bit, 10.5/10.4, SDK build settings
- From: Ken Thomases <email@hidden>
- Date: Mon, 1 Jun 2009 20:14:06 -0500
On Jun 1, 2009, at 7:45 PM, Alex Sheh wrote:
I'm adding 64-bit support to some applications that we ship, and I
have some questions related to the "Base SDK" and "Mac OSX
Deployment Target" settings.
My requirements are the following:
- On a machine running 10.5 or later, I need to run 64-bit code.
- On a machine running 10.4, it's okay to run 32-bit code.
- We do not support anything earlier than 10.4.
If I want to build a 64-bit binary, then I have to build against the
10.5 SDK (if I try to build 64-bit against 10.4 SDK, I get a compile
error). If I build against the 10.5 SDK, then I have to deploy on
10.5 as well, since the Objective-C ABI changed in 10.5. However,
our software also needs to support 10.4. I'm trying to determine
what is the best way to deploy our software, which build settings to
use, etc., while achieving these requirements.
See here:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeProjectManagement/070-Building_Products/building.html#//apple_ref/doc/uid/TP40002693-SW43
and here:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeBuildSystem/300-Build_Settings/bs_build_settings.html#//apple_ref/doc/uid/TP40002691-SW3
Cheers,
Ken
_______________________________________________
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