Re: [ccache] [PATCH] Some patches for Xcode support

2010-06-13 Thread Joel Rosdahl
On 2010-06-13 20:22, Bernhard Bauer wrote: > On Sun, Jun 13, 2010 at 18:38, Joel Rosdahl wrote: > [...] >> #!/bin/sh >> CCACHE_PREFIX=distcc exec ccache "$@" > > That should work, provided PATH is modified to exclude /X, otherwise > ccache would call this script again when calling distcc (because

Re: [ccache] [PATCH] Some patches for Xcode support

2010-06-13 Thread Bernhard Bauer
On Sun, Jun 13, 2010 at 18:38, Joel Rosdahl wrote: > On 2010-06-11 15:18, Bernhard Bauer wrote: >> I finally got around to rewriting the third patch. I added a special >> case to process_args that matches distcc's behavior (if the first >> argument to distcc is neither a source/object file nor an

Re: [ccache] [PATCH] Some patches for Xcode support

2010-06-13 Thread Joel Rosdahl
On 2010-06-11 16:33, Bernhard Bauer wrote: > Also, I added the -x option for compiling preprocessed code again if > there was an -x option on the original command line. Otherwise, when > compiling Objective-C code on a different machine, distcc wouldn't > recognize the code as preprocessed Objectiv

Re: [ccache] [PATCH] Some patches for Xcode support

2010-06-13 Thread Joel Rosdahl
On 2010-06-11 15:18, Bernhard Bauer wrote: > I finally got around to rewriting the third patch. I added a special > case to process_args that matches distcc's behavior (if the first > argument to distcc is neither a source/object file nor an option, it's > treated as the compiler). Thanks. One pro