Fandom

coLinux

How to use distcc

237pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

distcc is a distributed C and C++ compiler. It can use multiple computers over a network to compile source code. The results will be the same as if the code was compiled on the original computer, but the overall time will decrease.

First, you must follow the Networking with coLinux tutorial to have a network setup.

After the network is working:

  1. For each machine, download distcc, unpack, and do
     ./configure && make && sudo make install
  2. On each of the servers, run distccd --daemon, with --allow options to restrict access.
  3. Put the names of the servers in your environment:
     export DISTCC_HOSTS='localhost red green blue'
  4. Build!
     cd /work/linux-2.4.19; make -j8 CC=distcc

Also on Fandom

Random Wiki