Re: PowerPc Cross Compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



none none wrote:

> I have installed the latest binutils and also I have
> exported to $PATH the
> following directory:
> 
> /usr/local/powerpc/powerpc_exports
> 
> in whitch my binutils are installed. I configure using
> 
> /var/gcc-4.1.0/configure --target=powerpc-linux
> --prefix=/usr/local/powerpc/powerpc_exports
> --disable-shared
> --disable-threads --enable-languages=c --with-newlib
> 
> and then i give: gmake all-gcc install-gcc
> 
> After a while I get the error message:
> 
> gmake[3]: powerpc-linux-ar: Command not found
> [...]
>
> 
> But I DO have exported the directory in which the AR
> linker is installed!
> powerpc-linux-ar IS installed!  What can I do? I am
> out of ideas.

You added $prefix to the PATH but the binaries aren't in $prefix,
they're in $prefix/bin which is what needs to be in the PATH.  You can
verify that you've got it right as "which powerpc-linux-ar" from the
shell prompt should find the right binary.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux