• 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: Compiling a C++ Tool for 10.2 using XCode 2.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling a C++ Tool for 10.2 using XCode 2.1


  • Subject: Re: Compiling a C++ Tool for 10.2 using XCode 2.1
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 9 Jun 2005 08:54:06 -0700


On Jun 9, 2005, at 2:04 AM, Jérôme Seydoux wrote:

If I create a C++ Tool using the appropriate template from XCode 2.1,

then change the SDK to 10.2.8 (from the general tab of the project

info), I get a file not found error for every stdc++ header (#include

<iostream> etc). What's wrong??



You're still building with gcc4.0, which cannot deploy to 10.2.8 or earlier.  Change your compiler to gcc3.3 in the Rules tab of your target.

Note that using the 10.2.8 SDK prevents you from using any API introduced after that time.  It's a ceiling, not a floor.  If you want to ensure that your code runs on 10.2, but can use APIs from 10.3 or later as well, leave the SDK at 10.4 or 10.4u and set the "Mac OS X Deployment Target" setting to 10.2 instead.

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: 
 >Compiling a C++ Tool for 10.2 using XCode 2.1 (From: Jérôme Seydoux <email@hidden>)

  • Prev by Date: XCode 1.5 target editing error
  • Next by Date: Re: Cross development with SDK 10.3.9 not compatible with 10.3.8
  • Previous by thread: Compiling a C++ Tool for 10.2 using XCode 2.1
  • Next by thread: Re: Compiling a C++ Tool for 10.2 using XCode 2.1
  • Index(es):
    • Date
    • Thread