[distcc] Distributed Compiling with multiple targets

Christer Solskogen christer.solskogen at gmail.com
Mon Dec 2 12:37:54 UTC 2019


On Mon, Dec 2, 2019 at 1:23 PM Erik Rull via distcc <distcc at lists.samba.org>
wrote:

> Hi all,
>
> I used distcc some years ago already. Then computing power grew and I
> wasn't in the need of using it.
> Meanwhile I have multiple gcc versions and processor type targets (with
> different compiler versions) that make the compilation lasting long again.
> In earlier days I asserted that all distcc slaves were equipped with a
> single gcc and they had the same version as the host.
> Regarding each architecture, I can guarantee that. But each processor
> architecture as a different GCC running, so there is no "common" gcc call
> for all target systems because they are located in different build
> environments on the machines.
> How can I parameterize distcc so that this can be resolved? I would need
> e.g. for each gcc compilation a different path that each slave would know.
>
> I didn't find an easy solution for that or I didn't see find the right
> sections in the manual :-)
>
> I know where each compiler is for each architecture on each slave, I just
> need to know how to connect them properly with distcc...
>

Does this mean that you have multiple version of gcc installed something
like this?
/usr/local/gcc-7, /usr/local/gcc-6 etc? Or that you call gcc by full name
like this: x86_64-linux-gnu-gcc-6.4.0 x86_64-linux-gnu-gcc-7.1?

If the latter: export CC="distcc x86_64-linux-gnu-gcc-4.5"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/distcc/attachments/20191202/f8568dbb/attachment.htm>


More information about the distcc mailing list