The following seems to be out of date for my Ubuntu setup. My suggestion would be to look
at the latest info for distcc and follow the instructions from there. Make sure the different
machines have the same software. DAS
Install distcc on all machines taking part in the compilation. List them in <nowiki>~/.distcc/hosts</nowiki>:
The first machines listed are given higher priority -- place 'localhost' as you see fit.
Set the environment variables CCACHE_PREFIX, CXX and CC:
export CXX="ccache g++"
export CC="ccache gcc"
Compile using the <nowiki>-j<simultaneous-jobs></nowiki> flag, two jobs per CPU available, i.e. for 5 machines