[distcc] Re: detecting architecture of DISTCC HOSTS ?

Han-Wen Nienhuys hanwen at byrd.xs4all.nl
Mon Feb 20 12:02:56 GMT 2006

In article <1140396683.9406.58.camel at hope.sourcefrog.net>,
Martin Pool  <mbp at sourcefrog.net> wrote:
>> 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.
>There is not anything like that at the moment, but you could add it
>fairly easily, probably without modifying the server code.  It'd be a
>worthy addition.

Come to think of it, having another feature would actually be even
better: it would be nice if I could setup a mapping, so that if distcc
gets invoked on Linux

  distcc gcc

it will call


on other hosts, while it will do


if distcc was started on a Mac.

More information about the distcc mailing list