DistCC DistCC

DistCC - Definition and Overview

distcc is a computer program that distributes processes of compiling C and its derivatives like C++ and Objective C source code over a computer network. With the right configuration, the program can dramatically reduce compilation time.

The intention is to speed up compilation by utilising unused processing power on other computers. A machine with distcc installed can send the code to be compiled across the network to a computer which has the distccd daemon and a compatible compiler installed (distcc is designed to work with gcc).

distc works as an agent for the compiler. A distcc daemon has to run on each of the participating machines. The originating machine invokes a preprocessor to handle soure files and sends the preprocessed source to other machines over the network via TCP. Remote machines compile those source files without any local dependencies (such as header files or macro definitions) to object files and send them back to the originator for further compilation.

Ccache is another tool aimed to reduce the compilation time by caching the output from the same input.

External links


Example Usage of DistCC

Nemykal: @WyattEpp DistCC is difficult enough to get working properly on linux; you think I'd be mad enough to run DistCC on windows hosts (cygwin?)
WyattEpp: @Nemykal Fair enough. Think your dad would notice if you put DistCC on every single computer in the house?
danigm: make -j 10, quién dijo que en los ultraportatiles no se puede compilar... DistCC es mi amigo, y en sugus hay máquinas aburridas.
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.