egcs-1.0.2 compile error
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Sun Mar 22 12:13:00 GMT 1998
Hi,
I didn't have any problems with egcs-1.0.2 on glibc-2.0.91 (980101).
Compared to the options you mentioned, I additionally used --enable-shared,
--enable-haifa (strongly recommended for PPC) and --disable-multilib (to
speed up the build). Ah, I just see you built in the source dir, don't do
that! I use:
cd egcs
mkdir objdir
cd objdir
../configure --prefix=/usr --enable-shared --enable-haifa --with-gnu-as
--with-gnu-ld --disable-multilib
make bootstrap
Hope this helps,
Franz.
At 17:24 Uhr -0000 22.03.1998, Tom Rini wrote:
>I'm trying to compile egcs-1.0.2 on my 6100/60 running mklinux (linux/ppc,
>same deal). I'm using egcs-1.0.1 and a glibc-2.1 snapshot from 980125,
>and binutils-2.8.0.1.24 to try and compile it. This was config'ed with
>--with-gnu-ld --with-gnu-as and --with-cpu=601 (w/o --with-cpu=601, the
>compile dies even before doing stuff w/ xgcc)
>
>make[1]: Entering directory `/usr/src/egcs/egcs-1.0.2/libiberty'
>make[2]: Entering directory `/usr/src/egcs/egcs-1.0.2/libiberty'
>make[2]: Leaving directory `/usr/src/egcs/egcs-1.0.2/libiberty'
>make[1]: Leaving directory `/usr/src/egcs/egcs-1.0.2/libiberty'
>make[1]: Entering directory `/usr/src/egcs/egcs-1.0.2/texinfo'
>make[1]: Nothing to be done for `all'.
>make[1]: Leaving directory `/usr/src/egcs/egcs-1.0.2/texinfo'
>make[1]: Entering directory `/usr/src/egcs/egcs-1.0.2/etc'
>make[1]: Nothing to be done for `all'.
>make[1]: Leaving directory `/usr/src/egcs/egcs-1.0.2/etc'
>make[1]: Entering directory `/usr/src/egcs/egcs-1.0.2/gcc'
>/usr/src/egcs/egcs-1.0.2/gcc/xgcc -B/usr/src/egcs/egcs-1.0.2/gcc/ -DIN_GCC
>-g -O2 -I./include -I. -I. -I./config \
>-c ./objc/hash.c -o objc/hash.o
>/tmp/cca04461.s: Assembler messages:
>/tmp/cca04461.s:832: Error: Unrecognized opcode: `nabs'
>/tmp/cca04461.s:1025: Error: Unrecognized opcode: `nabs'
>make[1]: *** [objc/hash.o] Error 1
>make[1]: Leaving directory `/usr/src/egcs/egcs-1.0.2/gcc'
>make: *** [all-gcc] Error 2
>
>ideas?
>
>---
>Tom Rini (TR1265)
> http://dobbstown.yeti.edu/
More information about the Gcc-bugs
mailing list