[pacman-dev] recommended usage of distcc/ccache

Alexander Baldeck kth5 at archlinuxppc.org
Wed Apr 25 11:24:56 EDT 2007


Andreas Radke wrote:
> # with ccache
> export CCACHE_PREFIX="distcc"
> export CC="ccache gcc"
> export CXX="ccache g++"

Never do it that way! If you compile a kernel for example you expect 
everybody to have ccache installed. Rather modify PATH to have 
/usr/lib/ccache/bin before /usr/bin. The symlinks in ccache are made to 
work around this kind of problem.

Cheers,

-Y




More information about the pacman-dev mailing list