[distcc] Specifying compiler for distcc?

Dominic Marks dom at helenmarks.co.uk
Wed Feb 15 13:46:00 GMT 2006


Bjoern Nachtwey wrote:
> Hi folks,
>
> I'm maintaining our institute's PC-Cluster and of course it would be nice
> to
> use some nodes for parallel compilation, too.
>
> 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?
>
> Of course some users need to use more than one compiler (e.g.
> PortlandGroup
> and gcc).
>
> Looking to the sources I did not find the compiler-call, perhaps I can
> make
> this depending on a variable?
> So does anyone know, where gcc ist called by 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.

Cheers,
Dominic


More information about the distcc mailing list