• 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: MACOSX_DEPLOYMENT_TARGET per architecture in XCode 2.2. How?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: MACOSX_DEPLOYMENT_TARGET per architecture in XCode 2.2. How?
      • From: Gerben Wierda <email@hidden>
References: 
 >MACOSX_DEPLOYMENT_TARGET per architecture in XCode 2.2. How? (From: Gerben Wierda <email@hidden>)
 >Re: MACOSX_DEPLOYMENT_TARGET per architecture in XCode 2.2. How? (From: Gerben Wierda <email@hidden>)

  • Prev by Date: Re: xcode 2.2 editor problem
  • Next by Date: Re: xcode 2.2 editor problem
  • Previous by thread: Re: MACOSX_DEPLOYMENT_TARGET per architecture in XCode 2.2. How?
  • Next by thread: Re: MACOSX_DEPLOYMENT_TARGET per architecture in XCode 2.2. How?
  • Index(es):
    • Date
    • Thread