Penguin

Differences between version 3 and predecessor to the previous major change of DistCC.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 3 Last edited on Wednesday, November 15, 2006 4:00:52 pm by IanMcDonald Revert
Older page: version 2 Last edited on Wednesday, November 15, 2006 3:48:56 pm by IanMcDonald Revert
@@ -1,9 +1,13 @@
 DistCC is an [Acronym] for __Dist__ributed __C__ __C__ompiler. 
  
 distcc acts as a front end to the [GCC] suite and uses compilers on other boxes on your network to speed compilation. 
  
-To use you need to install the distcc [Package] on each machine and do some setup . This is fairly well documented on the web so I won 't repeat here (i.e. I am lazy).  
+To use you need to install the distcc [Package] on each machine.  
+  
+You need to specify which hosts to use which also have distcc installed via something like this in your environment:  
+  
+<tt>export DISTCC_HOSTS= 'localhost red green blue'</tt>  
  
 When I compile software with three (slow) machines I do the following: 
  
 <tt>make -j6 CC='distcc'</tt> 
@@ -18,4 +22,10 @@
 http://lists.samba.org/archive/distcc/2005q1/002941.html %%% 
 http://myrddin.org/howto/debian-distcc.php 
  
 However when I did this it worked but created other problems like certain [Module]s not compiling etc. If anybody knows how to do this reliably please tell me -- IanMcDonald 
+  
+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).  
+  
+It is also worth having a look at the http://distcc.samba.org/ page for more detailed instructions.  
+  
+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.