Mailing Lists: Apple Mailing Lists

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

Re: Xcode and ccache




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
 _______________________________________________
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

References: 
 >Xcode and ccache (From: "Clark Cox" <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.