[distcc] [PATCH] : for remote compilations on Sun WorkShop Compilers 4.2

Martin Pool mbp at samba.org
Mon May 26 04:36:34 GMT 2003

On 18 Apr 2003, rishikesh shetty <rishikeshshetty at yahoo.com> wrote:

> I was facing a problem where the local compilations would go through fine but the when it tried to compile it remotely it gave errors. I have fixed this ... and have tested this on my local system ... but I m not sure whether it would work across all compilers distcc version: 2.0.1 $ diff serve.c serve.c.old
> 335c335
> <     temp_o = dcc_make_tmpnam("server", ".o");
> >     temp_o = dcc_make_tmpnam("server", ".out"); Is there a reason a ".out" file extension was used instead of a ".o" -rishi 

No, there's no particular reason.  It is changed in CVS.

Please send proper unified diffs in future though.

Despite that this change has been accepted, I think this is basically
a Sun bug.  Programs should write where they're told; it is not good
Unix behaviour to care about extensions other than as a hint.  


More information about the distcc mailing list