On Wed, Aug 5, 2009 at 2:56 AM, JCX <span dir="ltr">&lt;<a href="mailto:jcx721@gmail.com">jcx721@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Thanks for your help.<br>
However, I still have several questions.<br>
<div class="im"><br>
<br>
2009/8/5 Martin Pool &lt;<a href="mailto:mbp@sourcefrog.net">mbp@sourcefrog.net</a>&gt;:<br>
</div><div class="im">&gt; A few options:<br>
&gt;<br>
&gt; 1- Move the compiler away and put a hardlink to distcc at the hardcoded location<br>
<br>
</div>This project uses three cross-compilers. So, how can I put a hardlink<br>
to distcc? I know to put a hardlink from one cross-compiler to distcc.</blockquote><div><br>Suppose your three cross-compilers are /foo/cc1, /bar/cc2, and /baz/cc3.<br>Then do<br>     mv /foo/cc1 /foo/cc1.orig<br>     ln /usr/bin/distcc /foo/cc1<br>

     mv /bar/cc2 /bar/cc2.orig<br>     ln /usr/bin/distcc /bar/cc2<br>     mv /baz/cc3 /baz/cc3.orig<br>     ln /usr/bin/distcc /baz/cc3<br><br>Do that only on the distcc client, not on the distcc servers.<br><br>But before trying that (masquerading), I would first try just replacing<br>

<br>   CC=/ABSOLUTE/COMPILER/PATH</div></div><br>in your config files with<br><br>   CC=&quot;distcc /ABSOLUTE/COMPILER/PATH&quot;<br><br>and see if that works, or if it can be made to work with minor modifications to the Makefiles.<br>

-- <br>Fergus Henderson &lt;<a href="mailto:fergus@google.com">fergus@google.com</a>&gt;<br>