from my experiences with using distcc and ccache, and I've been using them for quite a while setting CC="ccache distcc cc" does not work well with alot of programs, but defining CCACHE_PREFIX=distcc works alot better. In theory this should work, but it doesn't work as well as you may think. michael