[ECOS] powerpc-eabi-g++: installation problem, cannot exec `cpp0': No such file or directory

Morris Walton mwalton@telesyn.com
Wed Nov 2 20:50:00 GMT 2005



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 
--enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib 
--with-gxx-include-dir=/home/demonweb/tools/ecos-gnutools-v1.4/r2/powerpc-eabi/x86_linux_lsb1_3/tar_bz2/opt/ecos/gnutools/powerpc-eabi/powerpc-eabi/include
Thread model: single
gcc version 3.2.1

Should I have seen the path in there?



Andrew Lunn wrote:

>On Wed, Nov 02, 2005 at 10:48:10AM -0500, Morris Walton wrote:
>  
>
>>I download the tools & ecos using the ecos-install.tcl script, source 
>>the tools using the ecosenv.sh, and get the subject error when trying 
>>make.  The server is:
>>
>>uname -a:
>>Linux a.b.corp 2.6.9-5.0.5.EL #1 Fri Apr 8 14:21:35 EDT 2005 i686 i686 
>>i386 GNU/Linux
>>
>>I don't see the cpp0 around anywhere.  I "up2date"'d my cpp packages, 
>>but that didn't help.
>>    
>>
>
>It is the powerpc cpp it is looking for, not the native cpp.
>
>My guess would be you have installed the toolchain in the wrong
>place. It should be in /opt/ecos/gnutools/powerpc-eabi. gcc normaly
>has its install path hardcoded in the binary. So it will be looking
>for
>/opt/ecos/gnutools/powerpc-eabi/lib/gcc-lib/powerpc-eabi/3.2.1/cpp0
>
>If you have installed the toolchain somewhere else it won't be able to
>find this.
>
>        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



More information about the Ecos-discuss mailing list