Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode and ccache



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.

So, back to my question; has anybody gotten this to work, and if so,
could they provide me the steps to do so myself. Or, in a more general
sense, how does one replace the compiler used by Xcode on a global
basis (I know I could go into each target's settings and add a build
rule that associates source code files with a custom script, but I'd
rather have a global solution so that I can still collaborate on
projects with others who do not share my setup without having to edit
the project after every checkout, and before every commit)

--
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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.