problem building a complete cross compiler for the powerpc-eabi target
Dmitriy Feldman
dima17@yahoo.com
Wed May 26 11:32:00 GMT 2004
Hi,
I was trying to build a complete toolchain for the
powerepc-eabi target using the following tutorial
http://crossgcc.billgatliff.com/crossgccfaq/t1.html
I was installing the following packages for PowerPC
binutils-2.11.2
gcc-2.95.3
newlib-1.9.0
I was almost through for installation but when
(finally installing Gcc after bootstrap phase)
installing GCC
build failed by giving message (no Makefile in
libiberty). As suggested by Bill Gateliff, the
following command should complete the installation.
make CFLAGS="-O2 -myelloknife" install 2>&1 | tee
make_all_3.log
But I got the following error message after executing
this command:
if [ -f powerpc-eabi-ranlib ] || ( [
"i686-pc-cygwin32" =
"powerpc-unknown-eab
i" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] );
then \
(cd
/home/Dmitriy/install/lib/gcc-lib/powerpc-eabi/2.95.3/${dir};
powerpc-ea
bi-ranlib libgcc.a); \
else true; fi; \
chmod a-x
/home/Dmitriy/install/lib/gcc-lib/powerpc-eabi/2.95.3/${dir}/libgcc.
a; \
done
gcc -c -DCROSS_COMPILE -DIN_GCC -DHAIFA -O2
-myellowknife
-DHAVE_CONFIG_H
-I. -I../../gcc-2.95.3/gcc
-I../../gcc-2.95.3/gcc/config
-I../../gcc-2.95.3/gcc
/../include ../../gcc-2.95.3/gcc/cppspec.c
cc1: error: invalid option `yellowknife'
make[1]: *** [cppspec.o] Error 1
make[1]: Leaving directory
`/home/Dmitriy/build-gcc/gcc'
make: *** [install-gcc] Error 2
I was wondering if anybody else has run into a similar
problem. Any help would be greatly appreciated.
Dima
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list