Wikipedia:

distcc


distcc
Developer: Martin Pool
Latest release: 2.18.3 / 30 November 2004
OS: Cross-platform
Genre: Compiler
License: GNU General Public License
Website: http://distcc.samba.org/

In software development, distcc is a tool for speeding up compilation of source code by using distributed computing over a computer network. With the right configuration, distcc can dramatically reduce a project's compilation time.

It is designed to work with the C programming language (and its derivatives like [[C++]] and Objective-C) and to use GCC as its backend , though it provides varying degrees of compatibility with the [[Intel C++ Compiler]] and Sun Microsystems' compiler.[1] Distributed under the terms of the GNU General Public License, distcc is free software.

Design

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

distcc 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 header files, preprocessing directives (such as #ifdef) and the source files and sends the preprocessed source to other machines over the network via TCP either unencrypted or using SSH. Remote machines compile those source files without any local dependencies (such as libraries, header files or macro definitions) to object files and send them back to the originator for further compilation.

Related software

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

distcc is an option for distributed builds in Apple's Xcode development suite.

See also

References

  1. ^ http://distcc.samba.org/faq.html

External links


 
 
 

Join the WikiAnswers Q&A community. Post a question or answer questions about "distcc" at WikiAnswers.

 

Copyrights:

Wikipedia. This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Distcc" Read more

Search for answers directly from your browser with the FREE Answers.com Toolbar!  
Click here to download now. 

Get Answers your way! Check out all our free tools and products.

On this page:   E-mail   print Print  Link  

 

Keep Reading

Mentioned In: