Unable to reset CompileC for C++ (-x c++)
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