[distcc] Could "gcc -MD" be built in the server machine?

Fergus Henderson fergus.henderson at gmail.com
Thu Aug 20 11:47:02 MDT 2009


On Thu, Aug 20, 2009 at 4:51 AM, JCX <jcx721 at gmail.com> wrote:

> Hi all,
>
> There is such a compile situation:
>
> gcc uses the option '-MD', such as:
> distcc gcc -c -MD -o hello.o hello.c
>
> And the output dependence file hello.d will be used by the later "cp"
> command.
>
> So, can gcc command be built in the server machine? Can distcc be used?


Yes.  That works fine for me.

I built the above files using distcc and got errors that showed
> "hello.d: no such file".


I can't reproduce that behavior.

Which distcc version are you using?
Which version of distccd is running on the server?
What is the exact distcc command that you (or your Makefile) ran?
And exactly where did you expect the ".d" file to be?

Cheers,
  Fergus.
-- 
Fergus Henderson <fergus at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/distcc/attachments/20090820/4fb96e1d/attachment.html>


More information about the distcc mailing list