This is the mail archive of the mailing list for the newlib project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problems compiling newlib-1.8.1 for powerpc-elf


I have problems compiling newlib-1.8.1 on a i586-pc-linux-gnu host for
target powerpc-elf. The configure command I used was:

./configure --prefix=/usr/local --target=powerpc-elf

I use binutils-2.9.1 and gcc-2.8.1, both configured with the same command
line and with the crossgcc-patch applied to gcc.

The last messages while compiling are:

powerpc-elf-gcc -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then echo
-I./../../newlib/targ-include -I./../../newlib/libc/include; fi`
-mrelocatable-lib -mno-eabi -O2 -I. -I./.. -c -g -O2 sim-errno.c
powerpc-elf-gcc -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then echo
-I./../../newlib/targ-include -I./../../newlib/libc/include; fi`
-mrelocatable-lib -mno-eabi -I. -I./.. -g -O2 -c simulator.S
powerpc-elf-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 mcount.o
a - sim-print.o
a - sim-inbyte.o
a - sim-sbrk.o
a - sim-abort.o
a - sim-errno.o
a - simulator.o
powerpc-elf-ar: fstat.o: No such file or directory
make[2]: *** [libsim.a] Error 1
make[2]: Leaving directory
make[1]: *** [stmp-bsp] Error 2
make[1]: Leaving directory
make: *** [all-target-libgloss] Error 2

The error is reproducable. Any hints? Thank you in advance.

Matthias Barnutz

Matthias Barnutz, University of Dortmund, Germany
PGP Public Key available.