Re: Universal Binary and Backwards compatability
Re: Universal Binary and Backwards compatability
- Subject: Re: Universal Binary and Backwards compatability
- From: Gregory Weston <email@hidden>
- Date: Sat, 17 Sep 2005 14:31:14 -0400
On Sep 17, 2005, at 10:59 AM, Finlay Dobbie wrote:
If I create a Universal Binary, will it still work OK if I compile my
application to be able to be backwards compatible with older systems
(such as Jaguar)? Or are there any tricks to getting things to work
properly?
Yes. However, in Xcode 2.1 you cannot specify the SDK on a
per-architecture basis. A workaround until this is fixed is to build
for PPC and x86 separately, then lipo the results together.
From Xcode's guide to Building Universal Binaries:
"A number of the build settings defined by Xcode have different
variants of the form BUILD_SETTING_$(arch) to support building for
multiple CPU types. For example, to use the Mac OS X 10.3 SDK for
PowerPC code and the Mac OS X 10.4.u SDK for Intel code, set separate
values for the SDKROOT_ppc and SDKROOT_i386 build setting variants."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden