Re: Xcode and ccache
Re: Xcode and ccache
- Subject: Re: Xcode and ccache
- From: "Clark Cox" <email@hidden>
- Date: Wed, 12 Apr 2006 10:37:53 -0400
On 4/11/06, Clark Cox <email@hidden> wrote:
> Setting the CC build setting does not seem to have any effect. For
> instance, I have tried setting:
>
> CC = /usr/local/bin/gcc-4.0
>
> in my Project settings, Target settings and in an .xcconfig file.
> However, when I build, xcode is still calling
>
> /usr/bin/gcc-4.0
False alarm, the calls to the /usr/bin/ compilers were actually
showing up during the linking of the product. (That teaches me to rely
on simple grep'ing of the output)
> I started to go with Steve's solution of moving the "real" compilers
> to the side, and replacing them with links to ccache (or a wrapper
> thereof), but that seems to really confuse gcc_select. (Though Steve,
> your patches to ccache are quite useful)
>
> On 3/31/06, Chris Espinosa <email@hidden> wrote:
> >
> >
> > On Mar 17, 2006, at 5:51 AM, Clark Cox wrote:
> >
> >
> >
> > I was wondering if anyone knows how to get Xcode to use ccache as it's
> >
> > compiler. I've installed ccache, and put appropriate links in my path.
> >
> > This works perfectly for things built via make, or by directly calling
> >
> > gcc from the commandline. However, seeing as Xcode calls the compiler
> >
> > with an absolute path "/usr/bin/gcc", distcc is never being called
> >
> > when building projects via xcodebuild or from the Xcode GUI.
> >
> > Xcode uses the path to the compiler defined in the Rules tab of the Targets
> > inspector, or by the value of the $(CC) build setting. Try setting those.
> >
> > Chris
>
>
> --
> Clark S. Cox III
> email@hidden
> My CV/Resume:
> http://homepage.mac.com/clarkcox3/files/Resume.pdf
> http://homepage.mac.com/clarkcox3/files/Resume.html
>
--
Clark S. Cox III
email@hidden
My CV/Resume:
http://homepage.mac.com/clarkcox3/files/Resume.pdf
http://homepage.mac.com/clarkcox3/files/Resume.html
_______________________________________________
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