<p>Do you have PATH set appropriately before distccd is started? Is i686...gcc in that PATH?</p>
<div class="gmail_quote">On Sep 3, 2012 4:18 PM, "Dainius (GreatEmerald)" <<a href="mailto:pastas4@gmail.com">pastas4@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to get distcc working using a cross-compilation toolchain,<br>
but I keep hitting this error. I have no clue why that is, too.<br>
<br>
The situation is like this: I have a host machine, openSUSE x86_64,<br>
and a target machine, Gentoo i686. I set everything up according to<br>
the Gentoo documentation, and used crostool-ng to make a<br>
cross-compilation toolchain on the host machine. Both connect fine,<br>
but when the target sends the files to the host, I get this error (on<br>
the host):<br>
<br>
  (dcc_execvp) ERROR: failed to exec i686-pc-linux-gnu-gcc: No such<br>
file or directory<br>
<br>
However, there surely is such a file. I can execute it from the<br>
terminal just fine. I looked over the distccd documentation, and<br>
thought that this problem may arise from the fact that it's skipping a<br>
directory it believes to be a masquerade one (as the<br>
i686-pc-linux-gnu-gcc file is indeed a link, because crosstool-ng by<br>
default creates the binaries with the i586-pc-linux-gnu- prefix, and<br>
not i686-pc-linux-gnu- that the target sends). But setting<br>
DISTCCD_PATH to include the directory didn't help at all, it still<br>
gives me the exact same error.<br>
<br>
Another idea I had is that perhaps there was something I didn't do to<br>
get the cross-compilation toolchain working correctly. I just compiled<br>
it and added the path (in my case<br>
/home/dainius/cross/i586-pc-linux-gnu/bin) to the DISTCCD_PATH. But<br>
then I wouldn't know what it is...<br>
<br>
So, what could I be missing here?<br>
__<br>
distcc mailing list            <a href="http://distcc.samba.org/" target="_blank">http://distcc.samba.org/</a><br>
To unsubscribe or change options:<br>
<a href="https://lists.samba.org/mailman/listinfo/distcc" target="_blank">https://lists.samba.org/mailman/listinfo/distcc</a><br>
</blockquote></div>