[arm-gnu] _FPU_EXTENDED and _FPU_DOUBLE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[arm-gnu] _FPU_EXTENDED and _FPU_DOUBLE



Hi all,

There are following errors when I compile scilab-5.0.3:

src/c/setPrecisionFPU.c: In function 'setFPUToDouble':
src/c/setPrecisionFPU.c:44: error: '_FPU_EXTENDED' undeclared (first use
in this function)
src/c/setPrecisionFPU.c:44: error: (Each undeclared identifier is
reported only once
src/c/setPrecisionFPU.c:44: error: for each function it appears in.)
src/c/setPrecisionFPU.c:44: error: '_FPU_DOUBLE' undeclared (first use
in this function)
src/c/setPrecisionFPU.c: In function 'setFPUToExtended':
src/c/setPrecisionFPU.c:55: error: '_FPU_DOUBLE' undeclared (first use
in this function)
src/c/setPrecisionFPU.c:55: error: '_FPU_EXTENDED' undeclared (first use
in this function)
make[2]: *** [libscicore_la-setPrecisionFPU.lo] Error 1

There should be _FPU_EXTENDED and _FPU_DOUBLE defined under toolchain's
include directory called fpu_control.h.

So Is that possibly a bug? I am using CodeSourcery 2008-q3-72 for ARM.

Cheers,