[distcc] distcc and libtool

Martin Pool mbp at samba.org
Fri Aug 2 01:25:06 GMT 2002


On  2 Aug 2002, Joerg Beyer <job at webde-ag.de> wrote:
> Martin Pool wrote:
> >On 25 Jul 2002, joerg.beyer at email.de wrote:
> >Dear Joerg,
> >
> >You should be able to simply chain ccache and distcc
> >
> >  CC='ccache distcc gcc'
> >
> 
> when I do this in a libtool project, I get problems, because libtool
> translates this to:
> 
> --mode=compile ccache distcc gcc -DHAVE_CONFIG_H ...
> 
> instead of
> 
> --mode=gcc -DHAVE_CONFIG_H
> 
> are you aware of any other way to chain ccache and distcc?

You probably need to use something like the "distc" script in the
contrib/ directory.  Put this in your ~/bin, and set the contents to 
run ccache, distcc, and gcc.  

I'll try to fix this properly soon.

-- 
Martin 




More information about the distcc mailing list