Newlib for powerpc
root
root@larry
Tue Mar 4 08:02:00 GMT 1997
I've used Newlib (1.7) with great success with the m68k and
hitachi SH processors. However, when I attempted to build for
powerpc-elf32 it complains ppc-asm.h does not exist when comiling setjmp.S
in the newlib-1.7.0/newlib/libc/machine/powerpc directory. Modifying the
makefile in that directory to avoid building setjmp.S (appears to only be
necessary for HP) allows the build to proceed until it gets to the
libgloss, whereupon it comes up with the following:
configuring in doc
running /bin/sh ../../../../src/libgloss/doc/configure
--host=powerpc-elf32 --with-cross-host=i486-unknown-coff
--prefix=/d4/cross/ppc -v --with-gnu-ld --with-gnu-as
--with-target-subdir=powerpc-elf32 --cache-file=.././config.cache
--srcdir=../../../../src/libgloss/doc
loading cache .././config.cache
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
creating ./config.status
creating Makefile
configuring in rs6000
running /bin/sh ../../../../src/libgloss/rs6000/configure
--host=powerpc-elf32 --with-cross-host=i486-unknown-coff
--prefix=/d4/cross/ppc -v --with-gnu-ld --with-gnu-as
--with-target-subdir=powerpc-elf32 --cache-file=.././config.cache
--srcdir=../../../../src/libgloss/rs6000
configure: error: can not find sources in ../../../../src/libgloss/rs6000
configure: error: ../../../../src/libgloss/rs6000/configure failed for rs6000
make: *** [configure-target-libgloss] Error 1
I'm running linux, with gcc-2.7.2, binutils 2.6, newlib 1.7.0
Larry Battraw
(larry@cicdphx.com)
More information about the crossgcc
mailing list