URL: http://distcc.samba.org/

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.

Comments

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