Penguin
Annotated edit history of DistCC version 4, including all changes. View license author blame.
Rev Author # Line
1 IanMcDonald 1 DistCC is an [Acronym] for __Dist__ributed __C__ __C__ompiler.
2
3 distcc acts as a front end to the [GCC] suite and uses compilers on other boxes on your network to speed compilation.
4
3 IanMcDonald 5 To use you need to install the distcc [Package] on each machine.
6
7 You need to specify which hosts to use which also have distcc installed via something like this in your environment:
8
9 <tt>export DISTCC_HOSTS='localhost red green blue'</tt>
1 IanMcDonald 10
2 IanMcDonald 11 When I compile software with three (slow) machines I do the following:
12
13 <tt>make -j6 CC='distcc'</tt>
14
1 IanMcDonald 15 The -j6 is to tell make to use 6 parallel tasks (recommended is 2 per CPU).
16
17 This works brilliantly for most programs.
18
19 There are some tricks to getting this working for [KernelDevelopment] as first time I did this it stopped part way through and when I did a normal make it started all over from the beginning.
20
21 Some of the answers to these problems are in here: %%%
22 http://lists.samba.org/archive/distcc/2005q1/002941.html %%%
23 http://myrddin.org/howto/debian-distcc.php
24
3 IanMcDonald 25 You do need to have the exact same versions of the compiler on each machine for kernel compilation or else the build system starts again. (NB this also happens if you upgrade gcc between kernel builds - the whole tree is rebuilt).
26
27 It is also worth having a look at the http://distcc.samba.org/ page for more detailed instructions.
28
29 There is a package for [Debian] based systems called distccmon-gnome which shows you graphically what is going on and helps to see if you've got it going correctly.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach()