Powerpc gcc error for mpc8315erdb board

Vasanth Ragavendran ragavendrapec at yahoo.co.in
Wed Mar 16 23:27:41 EST 2011


Hi

I am facing a problem with my powerpc gcc. Actually i am using a ltib to
configure the kernel and the file system for my mpc8315erdb board from linux
2.6 host machine. and the installation of kernel and filesystem is
successful. i don't have "make" installed in the board and i wanted to
compile cgic library  (an ANSI C library for cgi) for the board, hence i
compiled it on the linux host machine itself but instead of using gcc i used
powerpc-e300c3-linux-gnu-gcc which corresponds to the gcc of the mpc8315erdb
board. however i get an error saying

powerpc-e300c3-linux-gnu-gcc: error trying to exec 'cc1': execvp: No such
file or directory

however powerpc-e300c3-linux-gnu-gcc is present in /usr/local/bin on the
linux host machine and this directory is part of the path. so powerpc does
exist on the host machine.

if the error comes on the host linux then i would look for
/usr/libexec/gcc/i486-slackware-linux/4.2.4/ but how do i rectify in this
scenario. the makefile for the cgic was modified according to the powerpc
architecture and i am attaching here below. Kindly help! plz!

http://old.nabble.com/file/p31162979/Makefile Makefile 


-- 
View this message in context: http://old.nabble.com/Powerpc-gcc-error-for-mpc8315erdb-board-tp31162979p31162979.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.



More information about the Linuxppc-dev mailing list