This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Where is FLT_MIN_EXP ?


I am cross compiling a source code with gcc-4.7.1 (binutils-2.22, gcc-4.7.1, mingwrt-3.20-2 and w32api-3.17).
I have a missing declaration : FLT_MIN_EXP.
$ tar xvf MesaLib-9.0.1.tar.bz2
$ cd Mesa-9.0.1
$ scons platform=windows toolchain=crossmingw machine=x86 mesagdi libgl-gdi
Compiling src/mesa/program/prog_execute.c ...
src/mesa/program/prog_execute.c: In function '_mesa_execute_program':
src/mesa/program/prog_execute.c:897:33: error: 'FLT_MIN_EXP' undeclared (first use in this function)
src/mesa/program/prog_execute.c:897:33: note: each undeclared identifier is reported only once for each function it appears in
src/mesa/program/prog_execute.c:1015:23: error: 'FLT_MAX' undeclared (first use in this function)

On the Internet, I can see that it should be available in the float.h file but it is not present in my float.h file:
$ cat /usr/i686-pc-mingw32/include/float.h | grep FLT_MIN_EXP

And it is not present in all my headers files too:
$ for each in /usr/i686-pc-mingw32/include/*.h; do cat ${each} | grep FLT_MIN_EXP; done

So my question is : where is FLT_MIN_EXP ?

Thank you.

PS: My cross compiler was built using these software:
-binutils-2.22 (configure --prefix=/usr --target=i686-pc-mingw32 --disable-nls)
-gcc-4.7.1 (configure --prefix=/usr --target=i686-pc-mingw32 --disable-shared --enable-languages=c --disable-nls)
-mingwrt-3.20-2 (configure --prefix=/usr/i686-pc-mingw32 --host=i686-pc-mingw32)
-w32api-3.17 (configure --prefix=/usr/i686-pc-mingw32 --build=`./config.guess` --host=i686-pc-mingw32 --disable-nls)
Then I added these software:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]