On Thu, Aug 20, 2009 at 4:51 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;">

Hi all,<br>
<br>
There is such a compile situation:<br>
<br>
gcc uses the option &#39;-MD&#39;, such as:<br>
distcc gcc -c -MD -o hello.o hello.c<br>
<br>
And the output dependence file hello.d will be used by the later &quot;cp&quot; command.<br>
<br>
So, can gcc command be built in the server machine? Can distcc be used?</blockquote><div><br>Yes.  That works fine for me.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I built the above files using distcc and got errors that showed<br>
&quot;hello.d: no such file&quot;.</blockquote><div><br>I can&#39;t reproduce that behavior.<br><br>Which distcc version are you using?<br>Which version of distccd is running on the server?<br>What is the exact distcc command that you (or your Makefile) ran?<br>

And exactly where did you expect the &quot;.d&quot; file to be?<br><br>Cheers,<br>  Fergus.<br></div></div>-- <br>Fergus Henderson &lt;<a href="mailto:fergus@google.com">fergus@google.com</a>&gt;<br>