Distributed compiling with distcc

09 May 2004   1 comment   Linux


Powered by Fusion×

distcc is a server-client program by the people behind "Samba"n:http://www.samba.org/ that allows compilation of C, C++, Objective C and Objective C++ to happen spread out on many computers, i.e. distributed. The daemon can be run on computers that have different processor as the one you're on. They can even be different operating systems.

The friend who told me about this had tried it to compile the latest Linux kernel. By using two workstations and his laptop he was able to do it in one fifth the time it usually takes. That's pretty damn impressive!

I really like distributed computing but my UNIX-foo is not good enough to use it without shooting myself in the foot all the time. But one thing I wonder. When you as a C developer sit and work on a big program, don't you mostly compile one single file that you're working on with its necessary header files? distcc seems to be more suitable for large compilations, not one at a time.


Peter Bengtsson
Does distcc help if you have one single file? In other words, not a project with header files and stuff.

Your email will never ever be published

Related posts

Heil Jed and Dave Kuhlman 09 May 2004
Zurich tram service problem 11 May 2004
Related by keywords:
C++ templates or not 18 February 2004
Obfuscating C contest running now 07 May 2004
He must really hate C 17 March 2004
Same but new keyboard, lovely change 21 January 2004
Two done three to go 15 May 2004