• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can I use the g++ compiler with xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I use the g++ compiler with xcode?


  • Subject: Re: Can I use the g++ compiler with xcode?
  • From: Justin Walker <email@hidden>
  • Date: Tue, 8 Jun 2004 09:15:11 -0700

On Jun 7, 2004, at 21:40, Cath Lawrence wrote:

On 08/06/2004, at 2:07 PM, Justin Walker wrote:
On Jun 7, 2004, at 20:39, Cath Lawrence wrote:
I have some C++ code I'd like to build with g++ - can I change the compiler setting somehow? Searching help docs & google & list archives has so far got me a clue that maybe not exactly, but maybe there are options:
- I could make gcc point to g++ (seems very obscure, I don't like it)
- there is some way of setting up a special compiler file (but I can't find any instructions)
- you can make gcc act like g++ with the right switches (which??)
Can anyone give me clue where to look?
What happens when you create a new project in Xcode, and select C++ tool?

A perfectly nice Hello World command line app... that gets built with gcc. I really can't figure out how to make it use g++ instead.


If you were trying to hint something to me there, I missed it :-/

As others have noted, this should work. It does for me, without any intervention beyond pushing the build button.


Were you having specific problems or are you just concerned about the appearence of 'gcc' in the build log?

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        |   If you're not confused,
                                       |   You're not paying attention
*--------------------------------------*-------------------------------*
_______________________________________________
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.


References: 
 >Can I use the g++ compiler with xcode? (From: Cath Lawrence <email@hidden>)
 >Re: Can I use the g++ compiler with xcode? (From: Justin Walker <email@hidden>)

  • Prev by Date: Can't Load Resources
  • Next by Date: Re: Can't Load Resources
  • Previous by thread: Re: Can I use the g++ compiler with xcode?
  • Next by thread: Re: Can I use the g++ compiler with xcode?
  • Index(es):
    • Date
    • Thread