minaco2 / distcc

Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

Add os/arch/compiler/compiler-version support. #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ideally, distcc would know about the os, arch, compiler and the
compiler-version needed to do the compilation job.

This would prevent ABI problems between versions of GCC, allow you to use
all CPU power on the network (regardless of arch or os), and make
cross-compiling much easier.

In my case, I have a project that must be compiled on:
win32, win64, sparc, x86-32bit, and x86-64bit.

To make ideal use of these 5 boxes, I would put distcc on all 5 boxes with
all 5 compilers.

Ciao!

Original issue reported on code.google.com by docw...@gmail.com on 13 Jul 2009 at 3:45

GoogleCodeExporter commented 9 years ago
This can be done by using an absolute path to the compiler, e.g. 

 pump make CC="distcc /usr/local/cross-compilers/win32/gcc/4.2.4/bin/gcc"

and on the servers setting the "numwords" variable in 
/etc/distcc/commands.allow.sh,
e.g. to 5, so that win32/gcc/4.2.4/bin/gcc will be distinguished from
win64/gcc/4.2.4/bin/gcc.

Original comment by fergus.h...@gmail.com on 20 Jul 2009 at 9:58

GoogleCodeExporter commented 9 years ago

Original comment by fergus.h...@gmail.com on 1 Dec 2009 at 4:50