[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem cross building glibc2.2 for powerpc on i386 w/o FPU
From: |
Toms, Kim |
Subject: |
Problem cross building glibc2.2 for powerpc on i386 w/o FPU |
Date: |
Tue, 21 Nov 2000 14:09:01 -0500 |
I'm trying to cross-build glibc2.2 for a PowerPC without an FPU. The build
machine is i686-linux. I configure as follows:
# ... the setting of HDRDIR gives the directory where the cross-compiled
Linus kernel has it's
# includes.
HDRDIR=`pwd`/../../../include
export CFLAGS="-msoft-float -O2 -DNDEBUG=1"
export CC="powerpc-linux-gcc -specs=specs.linux"
export AR=powerpc-linux-ar
export RANLIB=powerpc-linux-ranlib
configure --target=powerpc-linux \
--with-headers=${HDRDIR} \
--with-gnu-as --with-gnu-ld \
--enable-add-ons=crypt,linuxthreads \
--disable-sanity-checks --without-fp \
--build=i686-linux --host=powerpc-linux
Then, much later during the make, I get the following:
make[1]: Entering directory
`/home/stevew/ws/linux/LightMux8/packages/glibc-2.2/math'
powerpc-linux-gcc -specs=specs.linux ../sysdeps/powerpc/fclrexcpt.c -c
-DNDEBUG=1 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-msoft-float -mnew-mnemonics -Wa,-mppc -mpowerpc -Wno-uninitialized
-I../include -I. -I.. -I../libio -I../sysdeps/powerpc/elf
-I../crypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc
-I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/powerpc/soft-fp
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-nostdinc -isystem
/usr/local/powerpc-linux/lib/gcc-lib/powerpc-linux/2.95.2/include -isystem
/home/stevew/ws/linux/LightMux8/packages/glibc-2.2/../../../include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -I../soft-fp/
-D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -DNO_LONG_DOUBLE
-D_Mlong_double_=double -o fclrexcpt.o
../sysdeps/powerpc/fclrexcpt.c:20: fenv_libc.h: No such file or directory
make[1]: *** [fclrexcpt.o] Error 1
make[1]: Leaving directory
`/home/stevew/ws/linux/LightMux8/packages/glibc-2.2/math'
make: *** [math/others] Error 2
I'm not sure where to go from here; any suggestions are welcome.
- Problem cross building glibc2.2 for powerpc on i386 w/o FPU,
Toms, Kim <=