From LQWiki
Distcc is a program designed to distribute compiling tasks of C, C++, Objective-C, or Objective C++ code across a network to participating hosts. It is comprised of a server (distccd) and a client program (distcc).
30-second installation instructions:
- Install distcc on each machine that you wish to share compiling between.
- On each of the servers,
distccd --daemon
Using the option --allow option to restrict access to specific ip addresses. - Put the names or ip address of the distcc servers environment variable DISTCC_HOSTS:
export DISTCC_HOSTS='localhost red green blue' - Begin compiling on the "main" machine
CC=distcc ./configure
make -jx
where x is the number of processors on all servers running distcc plus one. This is recommended, and can be experimented with.
Internal Links
External links
- distcc homepage (distcc.samba.org)
- Linux Magazine article (www.linuxquestions.org)

This page is available under a