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 --daemonUsing 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 -j''x''where x is the number of processors on all servers running distcc plus one. This is recommended, and can be experimented with.