This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: powerpc-eabi-g++: installation problem, cannot exec `cpp0': No such file or directory
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Morris Walton <mwalton at telesyn dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 3 Nov 2005 09:22:15 +0100
- Subject: Re: [ECOS] powerpc-eabi-g++: installation problem, cannot exec `cpp0': No such file or directory
- References: <4368DFBA.1080000@telesyn.com> <20051102194823.GB3444@lunn.ch> <436925E3.3040200@telesyn.com>
On Wed, Nov 02, 2005 at 03:47:31PM -0500, Morris Walton wrote:
> Thanks,
>
> It appears to be installed in the right place:
>
> /opt/ecos/gnutools/powerpc-eabi/lib/gcc-lib/powerpc-eabi/3.2.1/cpp0
>
> here is my g++ -v output (is this right?):
>
> [x@server]$ powerpc-eabi-g++ -v
> Reading specs from
> /opt/ecos/gnutools/powerpc-eabi/bin/../lib/gcc-lib/powerpc-eabi/3.2.1/specs
> Configured with:
> /home/demonweb/tools/ecos-gnutools-v1.4/r2/powerpc-eabi/x86_linux_lsb1_3/tar_bz2/source/gcc-3.2.1/configure
> --target=powerpc-eabi
> --prefix=/home/demonweb/tools/ecos-gnutools-v1.4/r2/powerpc-eabi/x86_linux_lsb1_3/tar_bz2/opt/ecos/gnutools/powerpc-eabi
This is your problem. Like i said, the location the toolchain lives is
hardcoded into the binary. In this case, the hard coded value is:
/home/demonweb/tools/ecos-gnutools-v1.4/r2/powerpc-eabi/x86_linux_lsb1_3/tar_bz2/opt/ecos/gnutools/powerpc-eabi
If you move the toolchain to there, i expect it will work.
But this is probably not what you wanted. When you built the toolchain
it looks like you got the --prefix option to configure wrong. I
suggest you try configure and build the toolchain again with
--prefix=/opt/ecos/gnutools/powerpc-eabi
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss