Re: Compiling a C++ Tool for 10.2 using XCode 2.1
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