• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Universal Binary and Backwards compatability
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Universal Binary and Backwards compatability
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: Major Newbie Q
  • Next by Date: Re: Universal Binary and Backwards compatability
  • Previous by thread: Re: Universal Binary and Backwards compatability
  • Next by thread: Re: Universal Binary and Backwards compatability
  • Index(es):
    • Date
    • Thread