RE: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
RE: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
- Subject: RE: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
- From: "Dallman, John" <email@hidden>
- Date: Fri, 22 Jul 2011 13:21:13 +0000
- Thread-topic: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
> But I'm concerned about building the open source library in Terminal:
> how can we ensure that our makefiles build against the correct SDK
> and GCC version when run on the command-line?
For the SDK version, you need to use this additional compiler option:
-isysroot /Developer/SDKs/MacOSX10.5.sdk
If your Xcode 3.2.6 is in a different folder from /Developer, change that
part of the path accordingly.
I'm not sure of the details for the GCC version, because I've never used
more than one Xcode on a machine.
--
John Dallman
_______________________________________________
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