Re: Can I use the g++ compiler with xcode?
Re: Can I use the g++ compiler with xcode?
- Subject: Re: Can I use the g++ compiler with xcode?
- From: Eric Nicolas <email@hidden>
- Date: Tue, 8 Jun 2004 07:59:17 +0200
Le 8 juin 04, ` 07:06, Cath Lawrence a icrit :
On 08/06/2004, at 2:41 PM, Markian Hlynka wrote:
On Jun 7, 2004, at 21:39, Cath Lawrence wrote:
ok, you're talking about g++, not xcode, right? You should be asking
this on Darwin, probably. :)
No, I'm talking about both, and much more specifically about Xcode.
Xcode is a nice IDE and it uses gcc. I want to know: is there some
Xcode setting that will make Xcode build with g++ instead of gcc for
a particular project. g++ is a given. It's there, it comes with the
developer tools, it runs fine off the command line; it's not a problem
unless I want to use it inside the IDE.
GCC and G++ are the same compiler.
The one and only difference is that G++ automatically includes
libstdc++ upon linking for you.
So just do your project with XCode (select New Project and then
Standard C++ tool) and you'll
get a test project which compiles with GCC and links with libstdc++,
which is exactly what G++
does.
Eric.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.