aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-04 00:22:14 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-04 00:22:14 +0000
commit2524ee6cba5b97bea816db292847c670592e8673 (patch)
tree4eee447ac4d97028d9435fadf598ea7b2b9fd247
parentcec2d101e1308fda7a0beb31e49b9a2c701189e1 (diff)
downloadpaludis-2524ee6cba5b97bea816db292847c670592e8673.tar.gz
paludis-2524ee6cba5b97bea816db292847c670592e8673.tar.xz
Add distcc to FAQ, based upon input from Maurice Meeden
-rw-r--r--doc/faq.html.skel16
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/faq.html.skel b/doc/faq.html.skel
index 5ca0a3a..1217238 100644
--- a/doc/faq.html.skel
+++ b/doc/faq.html.skel
@@ -93,6 +93,19 @@ export CC="/usr/lib/ccache/bin/gcc"
export CXX="/usr/lib/ccache/bin/g++"
</pre>
+<h3 id="distcc">Use <code>distcc</code></h3>
+
+<p>To enable <code>distcc</code>, simply set the relevant variables in your
+configuration <code>bashrc</code>:</p>
+
+<pre>
+export DISTCC_DIR="/var/tmp/paludis/.distcc"
+export PATH="/usr/lib/distcc/bin:${PATH}"
+export CC="/usr/lib/distcc/bin/gcc"
+export CXX="/usr/lib/distcc/bin/g++"
+export DISTCC_HOSTS="localhost another_host"
+</pre>
+
<h3 id="defaultoptions">Specify default options</h3>
<p>Often users want to specify certain options by default. Common choices include:</p>
@@ -399,8 +412,7 @@ a rather ugly way of handling things. We do have equivalents to most values:</p>
shipping one as a demo hook at some point.</dd>
<dt>distcc</dt>
- <dd>See <a href="#ccache">Use <code>ccache</code></a>, and adapt it for
- <code>distcc</code>. Additions to this FAQ entry are welcome.</dd>
+ <dd>See <a href="#distcc">Use <code>distcc</code></a>.</dd>
<dt>keepwork, keeptemp, noclean</dt>
<dd>The <code>builtin_tidyup</code> phase does cleaning up. You can turn