Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
- Subject: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
- From: Simon Wilson <email@hidden>
- Date: Fri, 22 Jul 2011 14:51:24 +0200
We have a project that depends on an open source library and we use make to build that library on the command-line.
We want to migrate our project to Xcode 4.
The first step of this migration is to transition to Xcode 4.0.2 on Snow Leopard and build with the 10.6 SDK. Once complete, we will then transition to 4.1 on Lion (building against the 10.6 SDK) and hopefully be able to build the same project on both OS versions, booting into 10.6 to build and test with Xcode 4.0.2 and otherwise developing with 4.1 on Lion.
But we will need to maintain the current version built with the 10.5 SDK for a little while yet, so our intention is to install Xcode 4.0.2 alongside 3.2.6 on Snow Leopard and use the latter for our maintenance builds.
This should work in theory -- I have researched and understand how to install 3.2.6 and 4.0.2 side by side.
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?
Does anybody have any information on how to best achieve this?
Many thanks,
Simon
_______________________________________________
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