Building PPC cross compiler

Fred Heitkamp fheitkamp@worldnet.att.net
Wed May 20 05:46:00 GMT 1998


I'm trying to build a cross compiler to run on i386 linux with the
target
powerpc linux.  The compile stops because it can't find stdio-lock.h. 
Where can
I get this file?  Thanks!

make[5]: Leaving directory
`/mnt/ppc/egcs-1.0.3a/ppc-unknown-linux/nof/libiberty'
make[4]: Leaving directory
`/mnt/ppc/egcs-1.0.3a/ppc-unknown-linux/nof/libiberty'
make[3]: Leaving directory
`/mnt/ppc/egcs-1.0.3a/ppc-unknown-linux/libiberty'
make[2]: Leaving directory
`/mnt/ppc/egcs-1.0.3a/ppc-unknown-linux/libiberty'
make[2]: Entering directory
`/mnt/ppc/egcs-1.0.3a/ppc-unknown-linux/libio'
if [ -n "" ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
test -z "" ||\
  /mnt/ppc/egcs-1.0.3a/gcc/xgcc -B/mnt/ppc/egcs-1.0.3a/gcc/ -c -g -I.
-I. -D_IO_MTSAFE_IO  iogetline.
c -o pic/iogetline.o
/mnt/ppc/egcs-1.0.3a/gcc/xgcc -B/mnt/ppc/egcs-1.0.3a/gcc/ -c -g -I. -I.
-D_IO_MTSAFE_IO iogetline.c
In file included from iolibio.h:1,
                 from libioP.h:40,
                 from iogetline.c:26:
libio.h:160: stdio-lock.h: No such file or directory
make[2]: *** [iogetline.o] Error 1
make[2]: Leaving directory
`/mnt/ppc/egcs-1.0.3a/ppc-unknown-linux/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/mnt/ppc/egcs-1.0.3a'
make: *** [cross] Error 2

[1]+  Exit 2                  make cross 1>&MAKE
root@pc1:/mnt/ppc/egcs-1.0.3a # make depend
make: *** No rule to make target `depend'.  Stop.
root@pc1:/mnt/ppc/egcs-1.0.3a # make dep
make: *** No rule to make target `dep'.  Stop.
root@pc1:/mnt/ppc/egcs-1.0.3a # 


-- 
#########################################################
# Fred Heitkamp						#
# OS/2 Merlin, Linux x86, Linux m68k, Amiga		#
# fheitka@ibm.net					#
#########################################################



More information about the Gcc-bugs mailing list