distcc

distcc
distcc
Original author(s) Martin Pool
Developer(s) Fergus Henderson
Stable release 3.1 / 21 November 2008
Written in C/C++/Python
Operating system Cross-platform
Type Compiler
License GNU General Public License
Website http://distcc.googlecode.com/

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 [1].

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' Sun Studio Compiler Suite.[2] Distributed under the terms of the GNU General Public License, distcc is free software.

Contents

Design

distcc is designed to speed up compilation by taking advantage of 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 [3].

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 [4].

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 by caching the output from the same input source files. ccache can also use distcc as its back end providing distributed compiling if it's not already cached by using the CCACHE_PREFIX environment variable.

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

IncrediBuild is an alternative for developers using Microsoft Visual Studio C/C++ compiler.

See also

References

  1. ^ Laurence Bonney (2004-07-22). "Reduce compile time with distcc". IBM. http://www.ibm.com/developerworks/linux/library/l-distcc/index.html. Retrieved 2011-08-24. 
  2. ^ Martin Pool (2007-02-23). "distcc frequently asked questions". Distcc.googlecode.com. http://distcc.googlecode.com/svn/trunk/doc/web/faq.html. Retrieved 2009-10-19. 
  3. ^ Daniel Robbins (2004-02-01). "Distcc & Distributed Computing". Dr.Dobb's. http://drdobbs.com/184401764. Retrieved 2011-08-24. 
  4. ^ V. L. Simpson (2004-10). "Speed Compiling with Distcc". linuxgazette.net. http://linuxgazette.net/107/simpson.html. Retrieved 2011-08-25. 

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Distcc — Entwickler: Martin Pool Aktuelle Version: 3.1 (28. November 2008) Betriebssystem: diverse Unix Derivate Kategorie: Programmierwerkzeug …   Deutsch Wikipedia

  • distcc — Entwickler Martin Pool Aktuelle Version 3.1 (28. November 2008) Betriebssystem diverse Unix Derivate Kategorie Programmierwerkzeug Lizenz …   Deutsch Wikipedia

  • Distcc — Тип Компилятор Разработчик Fergus Henderson ОС Кроссплатформенное программное обеспечение Версия 3.1 (21 ноября 2008) …   Википедия

  • distcc — 3.1 в Gentoo Linux Тип инструмент распределённой компиляции Автор Martin Pool Разработчик Fergus Henderson Опе …   Википедия

  • Distcc — Développeur Martin Pool Dernière version …   Wikipédia en Français

  • distcc — Développeur Martin Pool Dernière version 3.1 ( …   Wikipédia en Français

  • 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 =… …   Wikipedia

  • Fergus Henderson (computer scientist) — infobox scientist name = Fergus Henderson birth date = 1971 residence = United States nationality = Australian field = Computer science work institution = Google alma mater = University of Melbourne doctoral advisor = Zoltan Somogyi known for =… …   Wikipedia

  • Gentoo Linux — Infobox OS name = Gentoo Linux caption = The desktop as provided by Gentoo Linux Live CD, release 2008.0 website = [http://www.gentoo.org www.gentoo.org] developer = Gentoo Foundation family = Linux source model = Open source, Free Software… …   Wikipedia

  • History of Xcode — In software development, the history of Xcode is the timeline of development and release of Apple Inc. s Xcode suite.Like Mac OS X itself, Xcode had its roots in technology from NeXT. Prior to the 24 October 2003 release of Mac OS X v10.3, Apple… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”