coLinux
m (Added category)
Guaka (talk | contribs)
m (layout)
 
Line 1: Line 1:
 
'''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.
[[Category:HOWTO]]
 
<!-- '''distccHowTo''' -->
 
 
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 [[coLinuxNetworking|Networking with coLinux]] tutorial to have a network setup.
 
First, you must follow the [[coLinuxNetworking|Networking with coLinux]] tutorial to have a network setup.
Line 18: Line 15:
 
cd /work/linux-2.4.19; make -j8 CC=distcc
 
cd /work/linux-2.4.19; make -j8 CC=distcc
   
 
[[Category:HOWTO]]
----[[MassTranslated]] on 25 Dec 2004.
 
 
----[[MassTranslated]] on Sun Apr 23 17:36:01 UTC 2006
 

Latest revision as of 10:32, 24 September 2006

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