Re: Recommended way to switch compiler version
Re: Recommended way to switch compiler version
- Subject: Re: Recommended way to switch compiler version
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 24 Sep 2009 17:30:31 +0200
Le 24 sept. 2009 à 17:19, Jens Alfke a écrit :
On Sep 23, 2009, at 10:37 PM, Chris Espinosa wrote:
On Sep 23, 2009, at 9:04 PM, Dieter Oberkofler wrote:
Using Xcode 3.2 on Snow Leopard.
What is the recommended way to switch the compiler version to be
used from the command line from 4.2.1 to 4.0?
xcodebuild GCC_VERSION=4.0
What about cross-platform projects with makefiles that invoke gcc or
cc directly?
There used to be a gcc_select tool to persistently change which
compiler version was invoked, but it seems to be gone in 10.6.
It was already gone in 10.5 AFAIR.
Usually , the following line works.
./configure CC="gcc-4.0" CXX="g++-4.0"
works too with make:
make CC="gcc-4.0" CXX="g++-4.0"
Jean-Daniel
_______________________________________________
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