Re: MACOSX_DEPLOYMENT_TARGET per architecture in XCode 2.2. How?
Re: MACOSX_DEPLOYMENT_TARGET per architecture in XCode 2.2. How?
- Subject: Re: MACOSX_DEPLOYMENT_TARGET per architecture in XCode 2.2. How?
- From: Chris Espinosa <email@hidden>
- Date: Sun, 6 Nov 2005 16:19:29 -0800
On Nov 6, 2005, at 1:48 PM, Gerben Wierda wrote:
Or in other words, "-mmacosx-version-min=10.2" and "-isysroot
/Developer/SDKs/MacOSX10.4u.sdk". That seems incompleet/contradictory
to me. Should I set SDKROOT_ppc as well? Anything else?
It's neither incomplete nor contradictory.
The -isysroot sets which API set you compile against and which library
set you link against. By using 10.4u you are stating that you intend
to use 10.4 features and/or to run on Intel.
The -mmacosx-version-min sets the earliest version your application
should launch on. With this setting, your application will not launch
on 10.1, but will launch on 10.2.0 or later. Because you used a later
SDK, though, it is possible your application will use system calls that
are unavailable in 10.2 or 10.3, so it is your responsibility to check
all such calls before making them.
This will be successful for Objective-C. Be aware that 10.2.8 does not
support the C++ runtime for gcc 4.0, so this configuration would not
work for C++ code; either set youu minimum deployment version to 10.3
(launch on 10.3.9) or use the gcc 3.3 compiler.
See the Cross-Development Guide for complete details.
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
XcodeUserGuide21/Contents/Resources/en.lproj/
05_10_bs_cross_development/chapter_37_section_1.html
_______________________________________________
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