• 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: xcode and g++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >debug build balloons in size from 10 MB to 260 MB (From: garvan <email@hidden>)
 >xcode and g++ (From: Wesley Smith <email@hidden>)

  • Prev by Date: Re: Xcode is so slow it drives me crazy
  • Next by Date: Re: XCode 2.0 broken?
  • Previous by thread: xcode and g++
  • Next by thread: Xcode is so slow it drives me crazy
  • Index(es):
    • Date
    • Thread