• 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: sdk 10.4 and 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sdk 10.4 and 10.5


  • Subject: Re: sdk 10.4 and 10.5
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 23 Apr 2009 14:23:55 -0700


On Apr 23, 2009, at 2:04 PM, email@hidden wrote:

In every Xcode project there are sdk 10.4 or sdk 10.5, gcc-4.0 or gcc-4.2. What is the difference between sdk 10.4, sdk 10.5; what should I change if I wish program to work in both Tiger, Leopard? Can I compile gcc-4.0 for sdk 10.4?

You can read the Cross-Development Programming Guide: Introduction to Cross-Development Programming Guide for the basics on what SDKs are and how to use them.

You use the SDK that matches the feature set of the operating system that you want to take advantage of in your application.  If you want 10.5 features, you have to use the 10.5 SDK.  You can still allow your app to run on earlier versions, though, by setting the "Deployment Target" to 10.4 and writing conditional code.

You can compile with gcc 4.0 for both 10.4 and 10.5; you cannot use gcc 4.2 to build for 10.4.

Chris
 _______________________________________________
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

References: 
 >sdk 10.4 and 10.5 (From: email@hidden)

  • Prev by Date: sdk 10.4 and 10.5
  • Next by Date: Speak string from text field
  • Previous by thread: sdk 10.4 and 10.5
  • Next by thread: Re: sdk 10.4 and 10.5
  • Index(es):
    • Date
    • Thread