[distcc] using ccache "multiple input files"

Martin Pool mbp at samba.org
Mon Nov 17 03:35:40 GMT 2003


On 21 Oct 2003, Heiko_Elger at arburg.com wrote:
> Hello,
> 
> I'm not sure why - but setting environment variable or make variable
> CCACHE_PREFIX=distcc
> all works fine.
> 
>    make -j10 CC="ccache distcc c:/programme/cygwin/bin/gcc"
> 
>    make -j10 CC="ccache distcc c:/programme/cygwin/bin/gcc" CCACHE_PREFIX=distcc

In fact you really want

   make -j10 CC="ccache c:/programme/cygwin/bin/gcc" CCACHE_PREFIX=distcc


> But why?
> Whats the difference?

It's some kind of bug in ccache's argument scanner.  It thinks that
distcc is a source file name, not part of the command.

-- 
Martin 
                               linux.conf.au -- Adelaide, January 2004



More information about the distcc mailing list