Hi all,
Due to problems compiling the "linux-pmac-devel" tree, I think I have
to upgrade my gcc. I have downloaded the gcc sources from www.gnu.org
(latest release is 2.95.2) and I try to recompile it in my machine.
I currently have:
gcc -v
Reading specs from /usr/lib/gcc-lib/ppc-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
(this is the one which is failing when trying to recompile the devel
tree)
My problem is that when I try to recompile the 2.95.2 gcc, I get the
following error:
ln -s /home/gonvaled/download/gcc-2.95.2/gcc/../libiberty/obstack.c
obstack.c
stage1/xgcc -Bstage1/ -B/usr/local/powerpc-unknown-linux-gnu/bin/ -c
-DIN_GCC -DHAIFA -O2 -g -O2 -DHAVE_CONFIG_H -I.
-I/home/gonvaled/download/gcc-2.95.2/gcc
-I/home/gonvaled/download/gcc-2.95.2/gcc/config
-I/home/gonvaled/download/gcc-2.95.2/gcc/../include obstack.c
stage1/xgcc -Bstage1/ -B/usr/local/powerpc-unknown-linux-gnu/bin/
-DIN_GCC -DHAIFA -O2 -g -O2 -DHAVE_CONFIG_H -o cccp cccp.o cexp.o
intl.o prefix.o version.o mbchar.o obstack.o
../libiberty/libiberty.a
/usr/bin/ld: unrecognised emulation mode: elf32ppclinux
Supported emulations: elf32ppc
collect2: ld returned 1 exit status
make[2]: *** [cccp] Error 1
make[2]: Leaving directory `/root/gcc/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/root/gcc/gcc'
make: *** [bootstrap] Error 2
What is that ? I fear that I maybe should upgrade my binutils. Does
this ring a bell somewhere ?
Thanks in advance,
Daniel