Re: Could "gcc -MD" be built in the server machine?

Fergus Henderson <[email protected]>
Newsgroups gmane.comp.compilers.distcc
Message-ID <[email protected]>
On Thu, Aug 20, 2009 at 4:51 AM, JCX <[email protected]> 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 <[email protected]>

__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.