[distcc] detecting architecture of DISTCC HOSTS ?

Lisa Seelye lisa at gentoo.org
Mon Feb 20 22:00:19 GMT 2006


On Sun, 2006-02-19 at 02:06 +0000, Han-Wen Nienhuys wrote:
> Hi,
> 
> distcc rocks!
> 
> I use it to distribute compiles on my home network (2 linux machines,
> and a Mac Mini), for a custom mini-distribution builder. Currently,
> this builder is only uses distcc for invoking cross-compilers
> (TARGET-gcc), since the normal "gcc" may invoke the wrong compiler on
> the Mac.
> 
> I would like to extend my builder to support distcc for non-cross
> builds too.  It would be easiest to do this if there were a command
> 
>    distcc-info gcc 
> 
> that would print out the remote results
> 
>   gcc -dumpmachine
>   gcc --version
> 
> in a format somewhat like
> 
>   hostname:platform:version
> 
> then I could easily alter the DISTCC_HOSTS settings to guarantee that
> I don't mismatch GCC versions and architectures.
> 
> Is there a way to accomplish this now?

There's a patch to accomplish this, but it was a bit flaky for me. It
should be in the source tree. The SLP patch.

(Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=80219 )

-- 
Regards,
Lisa Seelye
GPG: 09CF5 2D6B8 2B72B 997A7 601BC B46B5 561E4 96FC5
http://www.thedoh.com/~lisa/site
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/distcc/attachments/20060220/333d4d62/attachment.bin


More information about the distcc mailing list