Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Distcc
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==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 (computer software)|daemon]] and a compatible compiler installed.<ref name=drdobbs>{{cite web|author=Daniel Robbins |url=http://drdobbs.com/184401764 |title=Distcc & Distributed Computing |publisher=Dr.Dobb's |date=2004-02-01 |access-date=2011-08-24}}</ref> 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 <code lang="C">#ifdef</code>) and the source files and sends the [[Translation unit (programming)|preprocessed source]] to other machines over the network via [[Transmission Control Protocol|TCP]] either unencrypted or using [[Secure Shell|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.<ref name=linuxgazette>{{cite web|author=V. L. Simpson |url=http://linuxgazette.net/107/simpson.html |title=Speed Compiling with Distcc |publisher=linuxgazette.net |date=October 2004 |access-date=2011-08-25}}</ref> distcc version 3 supports a mode (called ''pump mode'') in which included header files are sent to the remote machines, so that preprocessing is also distributed.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)