[distcc] Cygwin and DISTCC: how do i point cygwin's distcc to the crosscompiler?

Daniel Kegel dank at kegel.com
Fri May 20 00:34:07 GMT 2005


Ryan Churches wrote:
> well i found a fellow named Dan Kegals website http://kegal.com and he
> makes a crosscompiler script for *nix platforms that will build one to
> your liking. so i installed it, and it built the cross compiler in a
> few hours. very automagic when used with wget.

That's http://kegel.com/crosstool to you :-)

> my problem is that i still dont understand how regular compilers work,
> must less cross compilers, so while my distcc on my cygwin box is
> receiving packages, i dont know how to tell it how to use my cross
> compiler.
> 
> it says when the compile fail:
> 
> Quote:
> distccd[1876] (dcc_execvp) ERROR: failed to exec i686-pc-linux-gnu-gcc: No such file or directory
>
> i notice that the script seemed to make my crosscompiler on cygwin in
> /opt/crosstool/i686-unknown-pc-linux/gcc-3.3.5-glibc-2.3.2/. now how
> do i tell the cygwin install of distcc to use that compiler?

Arrange for
/opt/crosstool/i686-pc-linux-gnu/gcc-3.3.5-glibc-2.3.2/bin
to be in distccd's PATH environment variable, I think.
(And check paths carefully, I think I corrected a typo in
what you wrote above, but maybe I'm just smoking crack.)

- Dan


More information about the distcc mailing list