[distcc] Specifying compiler for distcc?

Bjoern Nachtwey b.nachtwey at tu-bs.de
Wed Feb 15 18:49:53 GMT 2006


Dan Kegel wrote:
> On 2/15/06, Dominic Marks <dom at helenmarks.co.uk> wrote:
> > > Indeed, we've installed a bunch of compilers and want to use all of
> > > them for parallel compiling with distcc.
> > >
> > > Does anyone know if it's possible to specify which one to use within
> > > distcc?
> >
> > I might be misunderstanding you here, but the first argument to distcc is
> > the compiler. You could setup a series of links so enable you to use
> > shortcuts like pgcc, gcc, and so on. The manual page covers this quite
> > well I think.

OK, I got the point.

but I disagree with "covers this quite well" ;-)
I think an example with:
CC="distcc <compiler you wont> <flags for your specified compiler>

will do a better job?

> Yup.  I even use absolute pathnames to invoke the compiler;
> that works well (as long as the compilers are installed at the
> same place on both client and server).
> - Dan

yes,  I tried and it works :-)

> --
> Wine for Windows ISVs: http://kegel.com/wine/isv

thanks,

Bjørn


More information about the distcc mailing list