Re: xcode and g++
Re: xcode and g++
- Subject: Re: xcode and g++
- From: Chris Espinosa <email@hidden>
- Date: Wed, 18 May 2005 20:33:21 -0700
On May 18, 2005, at 5:07 PM, Wesley Smith wrote: I'm using Xcode 1.5 and want to compile my c++ project with g++. How do I tell Xcode to use g++ instead of gcc which it is current;y doing?
'gcc' is the Gnu Compiler Collection. /usr/bin/gcc is a compiler driver, that is, a front end for the several compilers in the collection. If you pass it a .cp file, it actually uses the g++ compiler to compile it. So it is already doing what you want it to do.
The -x option to gcc can force an override of the compiler driver's choice of compilers to correspond to your source's extension.
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