[Momonga-devel.ja:01659] より
1. ccache のみを使いたい場合
export PATH="/usr/libexec/ccache:$PATH"
2. distcc のみを使いたい場合
export PATH="/usr/libexec/distcc:$PATH"
3. ccache と distcc の両方を使いたい場合
export PATH="/usr/libexec/ccache:$PATH" export CCACHE_PREFIX="distcc"
distcc を ssh 経由で使う
export DISTCC_HOSTS="localhost @remote1 @remote2"
もしくは
export DISTCC_HOSTS="localhost user1@remote1 user2@remote2"