[prev in list] [next in list] [prev in thread] [next in thread] 

List:       distcc
Subject:    Re: [distcc] Distcc with sh4-linux-gcc
From:       Fergus Henderson <fergus () google ! com>
Date:       2010-03-31 18:39:06
Message-ID: n2r5a76647a1003311139web669a34n235518222fa4a524 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, Mar 31, 2010 at 11:48 AM, Wadii Guedria <wadii.gd@gmail.com> wrote:

> Hi all,
>
> I installed distcc in two machines, I have distcc working with gcc but not
> with sh4-linux-gcc. I need sh4-linux-gcc for cross
> compilation.(sh4-linux-gcc under /opt/.../sh4/bin and installed in both
> machines)
> I made a masquerade link and exported it to the PATH, also exported
> /sh4/bin to the PATH
>
> cd /usr/lib/bin/
> mkdir distcc
> cd distcc
> ln -s /usr/bin/distcc sh4-linux-gcc
> ln -s /usr/bin/distcc sh4-linux-g++
> ln -s /usr/bin/distcc sh4-linux-c++
>
> When I launch the compilation with the compiler sh4-linux-gcc, I have this
> error
>
> (dcc_execvp) ERROR: failed to exec sh4-linux-gcc: No such file or directory
>

For masquerading, sh4-linux-gcc needs to be in the $PATH twice: the first
one should be the symlink to /usr/bin/distcc, and the second entry in the
path should be the real one, i.e. /opt/.../sh4/bin/sh4-linux-gcc.

If that's not the problem, please provide more information, e.g.
  - the value of your $PATH env var
  - the exact command that you invoked
  - the full output from the command
-- 
Fergus Henderson <fergus@google.com>

[Attachment #5 (text/html)]

<br><br><div class="gmail_quote">On Wed, Mar 31, 2010 at 11:48 AM, Wadii Guedria \
<span dir="ltr">&lt;<a href="http://wadii.gd">wadii.gd</a>@<a \
href="http://gmail.com">gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;">

Hi all,<br><br>I installed distcc in two machines, I have distcc working with gcc but \
not with sh4-linux-gcc. I need sh4-linux-gcc for cross compilation.(sh4-linux-gcc \
under /opt/.../sh4/bin and installed in both machines)<br>


I made a masquerade link and exported it to the PATH, also exported /sh4/bin to the \
PATH<br><br>cd /usr/lib/bin/<br>mkdir distcc<br>cd distcc<br>ln -s /usr/bin/distcc \
sh4-linux-gcc<br>ln -s /usr/bin/distcc sh4-linux-g++<br>


ln -s /usr/bin/distcc sh4-linux-c++<br><br>When I launch the compilation with the \
compiler sh4-linux-gcc, I have this error<br><br>(dcc_execvp) ERROR: failed to exec \
sh4-linux-gcc: No such file or directory<br></blockquote>

<div><br></div><div>For masquerading, sh4-linux-gcc needs to be in the $PATH twice: \
the first one should be the symlink to /usr/bin/distcc, and the second entry in the \
path should be the real one, i.e. /opt/.../sh4/bin/sh4-linux-gcc.</div>

<div><br></div><div>If that&#39;s not the problem, please provide more information, \
e.g.</div><div>  - the value of your $PATH env var</div><div>  - the exact command \
that you invoked</div><div>  - the full output from the command</div>

</div>-- <br>Fergus Henderson &lt;<a href="mailto:fergus@google.com" \
target="_blank">fergus@google.com</a>&gt;<br>



__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic