newlib-1.8.0 and ppc-rtems-eabi

Peter Barada
Fri Aug 8 14:46:00 GMT 1997

When I try to configure for ppc-rtems-eabi, the build of newlib dies

running /bin/sh ./configure  --host=ppc-rtems-eabi --build=i586-linux-gnu --enable-multilib --with-cross-host=i586-linux-gnu --prefix=/usr/local/wave --exec-prefix=/usr/local/wave/ppc --program-prefix=ppc_ --nfp --with-target-subdir=ppc-rtems-eabi --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking host system type... powerpc-rtems-eabi
checking target system type... powerpc-rtems-eabi
checking build system type... i586-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for gcc... (cached) ppc_gcc
checking whether we are using GNU C... (cached) yes
checking whether ppc_gcc accepts -g... (cached) yes
checking for ranlib... (cached) ppc_ranlib
creating ./config.status
creating Makefile
make[1]: Entering directory `/usr/local/src/newlib-1.8.0/ppc-rtems-eabi/libgloss'
make[2]: Entering directory `/usr/local/src/newlib-1.8.0/ppc-rtems-eabi/libgloss/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/newlib-1.8.0/ppc-rtems-eabi/libgloss/doc'
make[2]: Entering directory `/usr/local/src/newlib-1.8.0/ppc-rtems-eabi/libgloss/rs6000'
ppc_gcc -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then echo -I./../../newlib/targ-include -I./../../newlib/libc/include; fi`  -I. -I./.. -g -O2 -c sim-crt0.S
ppc_gcc -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then echo -I./../../newlib/targ-include -I./../../newlib/libc/include; fi`  -O2 -I. -I./.. -c -g -O2 sim-print.c
ppc_gcc -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then echo -I./../../newlib/targ-include -I./../../newlib/libc/include; fi`  -O2 -I. -I./.. -c -g -O2 sim-inbyte.c
ppc_gcc -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then echo -I./../../newlib/targ-include -I./../../newlib/libc/include; fi`  -O2 -I. -I./.. -c -g -O2 sim-sbrk.c
ppc_gcc -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then echo -I./../../newlib/targ-include -I./../../newlib/libc/include; fi`  -O2 -I. -I./.. -c -g -O2 sim-abort.c
ppc_gcc -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then echo -I./../../newlib/targ-include -I./../../newlib/libc/include; fi`  -O2 -I. -I./.. -c -g -O2 sim-errno.c
ppc_gcc -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then echo -I./../../newlib/targ-include -I./../../newlib/libc/include; fi`  -I. -I./.. -g -O2 -c simulator.S
ppc_ar rv libsim.a sim-print.o sim-inbyte.o sim-sbrk.o sim-abort.o sim-errno.o simulator.o fstat.o getpid.o isatty.o kill.o putnum.o stat.o unlink.o
a - sim-print.o
a - sim-inbyte.o
a - sim-sbrk.o
a - sim-abort.o
a - sim-errno.o
a - simulator.o
ppc_ar: fstat.o: No such file or directory
make[2]: *** [libsim.a] Error 1
make[2]: Leaving directory `/usr/local/src/newlib-1.8.0/ppc-rtems-eabi/libgloss/rs6000'
make[1]: *** [stmp-bsp] Error 2
make[1]: Leaving directory `/usr/local/src/newlib-1.8.0/ppc-rtems-eabi/libgloss'
make: *** [all-target-libgloss] Error 2

Anybody actually try to build this configuration?

Peter Barada
Wizard					617-270-7098 x1226
WaveMark Technologies, Inc.		617-270-0193 (fax)

"Real men know that you should never attempt to accomplish with words
what you can do with a flame thrower" --Bruce Ferstein

More information about the crossgcc mailing list