• 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
Unable to reset CompileC for C++ (-x c++)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to reset CompileC for C++ (-x c++)


  • Subject: Unable to reset CompileC for C++ (-x c++)
  • From: "Sullivan, Jeff" <email@hidden>
  • Date: Wed, 12 Oct 2005 14:41:51 -0400
  • Thread-topic: Unable to reset CompileC for C++ (-x c++)

I'm using xcodebuild to build applications with a different compiler
than the default. My command line looks like this...

  setenv CMPLR `which gcc`
  xcodebuild CC=$CMPLR CCPLUSPLUS=$CMPLR LD=$CMPLR ...

This seems to reset the C compilations and links to use my compiler, but
I can't seem to override the default C++ compiler, though. I've tried
several other settings CPP=... CXX=..., but they didn't seem to work
either.

I see this problem in /Developer/Examples/Carbon/AppearanceSample, for
example.

 % cd /Developer/Examples/Carbon/AppearanceSample/AppearanceSample.xcode
 % xcodebuild CC=$CMPLR CCPLUSPLUS=$CMPLR LD=$CMPLR OBJROOT=/tmp
SYMROOT=/tmp

What is the correct setting that will change the C++ compiler?

Thanks,
-Jeff

 _______________________________________________
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

  • Prev by Date: Re: Can a two-level search be done in Xcode?
  • Next by Date: Re: There's something buggy in the XCode Cocoa documentation...
  • Previous by thread: Re: Can a two-level search be done in Xcode?
  • Next by thread: Symbol coloring in XCode?
  • Index(es):
    • Date
    • Thread