http://distcc.googlecode.com/svn/trunk/doc/web/index.html
QUICK SUMMARY |
============= |
0. Install prerequisites. For example, on Debian or Ubuntu, you could use |
sudo apt-get install gcc make python python-dev libiberty-dev |
Note that past versions of Debian used binutils-dev instead of |
libiberty-dev. |
1. Build and install |
./autogen.sh # If "configure" does not already exist. |
./configure |
make |
make check # Optional! Should have python >= 2.4 installed. |
make install # You may need to use "sudo" for this command. |
make installcheck # Optional! Should have python >= 2.4 installed. |
Repeat installation for each server machine. |
2. Run distccd on each server machine, |
with --allow options to limit access. |
3. On your client machine, set DISTCC_POTENTIAL_HOSTS to the list |
of distcc server machines: |
export DISTCC_POTENTIAL_HOSTS='localhost red green blue' |
4. Build your software using distcc: |
cd ~/my_sources/my_project |
pump make -j40 CC="distcc gcc" <your target> |
from http://code.google.com/p/distcc/source/browse/trunk/INSTALL