/[gentoo]/xml/htdocs/doc/en/distcc.xml
Gentoo

Diff of /xml/htdocs/doc/en/distcc.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.41 Revision 1.42
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/distcc.xml,v 1.41 2008/01/11 07:05:02 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/distcc.xml,v 1.42 2008/04/07 20:56:59 jkt Exp $ -->
4 4
5<guide link="/doc/en/distcc.xml"> 5<guide link="/doc/en/distcc.xml">
6 6
7<title>Gentoo Distcc Documentation</title> 7<title>Gentoo Distcc Documentation</title>
8 8
9<author title="Author"> 9<author title="Author">
10 <mail link="lisa@gentoo.org">Lisa Seelye</mail> 10 <mail link="lisa@gentoo.org">Lisa Seelye</mail>
11</author> 11</author>
12<author title="Editor"> 12<author title="Editor">
13 <mail link="vapier@gentoo.org">Mike Frysinger</mail> 13 <mail link="vapier@gentoo.org">Mike Frysinger</mail>
14</author> 14</author>
15<author title="Editor"> 15<author title="Editor">
16 <mail link="erwin@gentoo.org">Erwin</mail> 16 <mail link="erwin@gentoo.org">Erwin</mail>
17</author> 17</author>
18<author title="Editor"> 18<author title="Editor">
21<author title="Editor"> 21<author title="Editor">
22 <mail link="pylon@gentoo.org">Lars Weiler</mail> 22 <mail link="pylon@gentoo.org">Lars Weiler</mail>
23</author> 23</author>
24<author title="Reviewer"> 24<author title="Reviewer">
25 <mail link="blubber@gentoo.org">Tiemo Kieft</mail> 25 <mail link="blubber@gentoo.org">Tiemo Kieft</mail>
26</author> 26</author>
27 27
28<abstract> 28<abstract>
29This document serves as a HOWTO for using distcc with Gentoo. 29This document serves as a HOWTO for using distcc with Gentoo.
30</abstract> 30</abstract>
31 31
32<!-- The content of this document is licensed under the CC-BY-SA license --> 32<!-- The content of this document is licensed under the CC-BY-SA license -->
33<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 33<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
34<license/> 34<license/>
35 35
36<version>1.20</version> 36<version>1.21</version>
37<date>2008-01-10</date> 37<date>2008-04-07</date>
38 38
39<chapter> 39<chapter>
40<title>Introduction</title> 40<title>Introduction</title>
41<section> 41<section>
42<title>What is distcc?</title> 42<title>What is distcc?</title>
43<body> 43<body>
44 44
45<p> 45<p>
46Distcc is a program designed to distribute compiling tasks across a network to 46Distcc is a program designed to distribute compiling tasks across a network to
47participating hosts. It is comprised of a server, <c>distccd</c>, and a client 47participating hosts. It is comprised of a server, <c>distccd</c>, and a client
48program, <c>distcc</c>. Distcc can work transparently with <uri 48program, <c>distcc</c>. Distcc can work transparently with <uri
49link="http://ccache.samba.org">ccache</uri>, Portage, and Automake with a 49link="http://ccache.samba.org">ccache</uri>, Portage, and Automake with a
50little setup. 50little setup.
51</p> 51</p>
52 52
357<p> 357<p>
358Recent Portage updates have made Portage use <c>${CHOST}-gcc</c> instead of 358Recent Portage updates have made Portage use <c>${CHOST}-gcc</c> instead of
359<c>gcc</c>. This means that if you're mixing i686 machines with other types 359<c>gcc</c>. This means that if you're mixing i686 machines with other types
360(i386, i586) you will run into problems. A workaround for this may be to 360(i386, i586) you will run into problems. A workaround for this may be to
361<c>export CC='gcc' CXX='c++'</c> or to put it in <path>/etc/make.conf</path>. 361<c>export CC='gcc' CXX='c++'</c> or to put it in <path>/etc/make.conf</path>.
362</p> 362</p>
363 363
364<impo> 364<impo>
365Doing this explicitly redefines some behaviour of Portage and may have some 365Doing this explicitly redefines some behaviour of Portage and may have some
366weird results in the future. Only do this if you're mixing CHOSTs. 366weird results in the future. Only do this if you're mixing CHOSTs.
367</impo> 367</impo>
368 368
369 369
370</body> 370</body>
371</section> 371</section>
372<section>
373<title>-march=native</title>
374<body>
375
376<p>
377Starting with GCC 4.3.0, the compiler supports the <c>-march=native</c> switch
378which turns on CPU autodetection and optimizations that are worth being enabled
379on the processor the GCC is running at. This is a problem with <c>distcc</c> as
380it allows mixing of code optimized for different processors (like AMD Athlon and
381Intel Pentium). <e>Don't</e> use <c>-march=native</c> or <c>-mtune=native</c> in
382your <c>CFLAGS</c> or <c>CXXFLAGS</c> when compiling with <c>distcc</c>.
383</p>
384
385</body>
386</section>
372</chapter> 387</chapter>
373 388
374<chapter> 389<chapter>
375<title>Distcc Extras</title> 390<title>Distcc Extras</title>
376<section> 391<section>
377<title>Distcc Monitors</title> 392<title>Distcc Monitors</title>
378<body> 393<body>
379 394
380<p> 395<p>
381Distcc ships with two monitors. The text-based one is always built and is 396Distcc ships with two monitors. The text-based one is always built and is
382called <c>distccmon-text</c>. Running it for the first time can be a bit 397called <c>distccmon-text</c>. Running it for the first time can be a bit
383confusing, but it is really quite easy to use. If you run the program with no 398confusing, but it is really quite easy to use. If you run the program with no
384parameter it will run once. However, if you pass it a number it will update 399parameter it will run once. However, if you pass it a number it will update
385every N seconds, where N is the argument you passed. 400every N seconds, where N is the argument you passed.
386</p> 401</p>

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.20