All pastes #48509 Raw Edit

Miscellany

public text v1 · immutable
#48509 ·published 2006-04-07 10:34 UTC
rendered paste body
$ find -name fenv.h
./math/fenv.h
./sysdeps/ia64/bits/fenv.h
./sysdeps/s390/fpu/bits/fenv.h
./sysdeps/x86_64/fpu/bits/fenv.h
./sysdeps/alpha/fpu/bits/fenv.h
./sysdeps/powerpc/bits/fenv.h
./sysdeps/i386/fpu/bits/fenv.h
./sysdeps/sh/sh4/fpu/bits/fenv.h
./sysdeps/sparc/fpu/bits/fenv.h
./include/fenv.h
./ports/sysdeps/arm/eabi/bits/fenv.h
./ports/sysdeps/arm/fpu/bits/fenv.h
./ports/sysdeps/mips/bits/fenv.h
./ports/sysdeps/am33/fpu/bits/fenv.h
./ports/sysdeps/hppa/fpu/bits/fenv.h
./ports/sysdeps/m68k/fpu/bits/fenv.h

So fenv.h is only defined for FPU and EABI, I think FPU is hard-float, or?


The error I get:
| ccache arm-linux-gcc -march=armv5te -mtune=xscale fclrexcpt.c -c -std=gnu99 -Os -Wall -Winline -Wwrite-strings -fexpensive-optimizations -fmerge-all-constants -frename-registers -Wstrict-prototypes  -fomit-frame-pointer   -Wno-uninitialized -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -DNO_LONG_DOUBLE -D_Mlong_double_=double -I../include -I/usr/src/sdkmnci/tmp/work/glibc-intermediate-2.4-r4/build-arm-linux/math -I/usr/src/sdkmnci/tmp/work/glibc-intermediate-2.4-r4/build-arm-linux -I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/linux/arm/nptl -I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /usr/src/sdkmnci/tmp/cross/lib/gcc/arm-linux/4.1.0/include -isystem /usr/src/sdkmnci/tmp/staging/arm-linux/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1 -DIS_IN_libm=1    -o /usr/src/sdkmnci/tmp/work/glibc-intermediate-2.4-r4/build-arm-linux/math/fclrexcpt.o -MD -MP -MF /usr/src/sdkmnci/tmp/work/glibc-intermediate-2.4-r4/build-arm-linux/math/fclrexcpt.o.dt -MT /usr/src/sdkmnci/tmp/work/glibc-intermediate-2.4-r4/build-arm-linux/math/fclrexcpt.o
| In file included from ../include/fenv.h:2,
|                  from fclrexcpt.c:21:
| ../math/fenv.h:58:23: error: bits/fenv.h: No such file or directory
| In file included from ../include/fenv.h:2,
|                  from fclrexcpt.c:21:
| ../math/fenv.h:69: error: expected ')' before '*' token