- Distcc
infobox software
name = distcc
author = Martin Pool
developer = Fergus Henderson
latest_release_version = 3.0
latest_release_date =7 August 2008
operating_system =Cross-platform
genre =Compiler
license =GNU General Public License
website = http://distcc.googlecode.com/In
software development , distcc is a tool for speeding up compilation ofsource code by usingdistributed computing over acomputer 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 likeC++ andObjective-C ) and to use GCC as its backend, though it provides varying degrees of compatibility with theIntel C++ Compiler andSun Microsystems 'Sun Studio Compiler Suite [ [http://distcc.googlecode.com/svn/trunk/doc/web/faq.html distcc frequently asked questions ] ] . Distributed under the terms of theGNU General Public License , distcc isfree 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.distcc version 3 also supports a mode (called pump mode) in which included header files are sent to the remote machines,so that preprocessing is distributed too.
Related software
ccache is another tool aimed to reduce the compilation time bycaching the output from the same input source files.distcc is an option for distributed builds in Apple's
Xcode development suite.See also
*
Electric Cloud References
External links
* [http://distcc.googlecode.com/ Distcc website]
Wikimedia Foundation. 2010.