From: YuGiOhJCJ Mailing-L. <yug...@la...> - 2012-12-11 18:30:43
|
On Tue, 11 Dec 2012 20:03:09 +0200 Eli Zaretskii <el...@gn...> wrote: > > Date: Tue, 11 Dec 2012 17:21:55 +0100 > > From: YuGiOhJCJ Mailing-List <yug...@la...> > > > > You say that it should be defined in: > > $MINGW_ROOT/lib/gcc/mingw32/<version>/include/float.h > > > > But when I am looking for this file, it doesn't exists. > > $ find /usr/i686-pc-mingw32/ -name "float.h" > > /usr/i686-pc-mingw32/include/float.h > > /usr/i686-pc-mingw32/include/c++/4.7.1/tr1/float.h > > Try under /usr/lib instead. > OK. $ find /usr/lib/ -name "float.h" /usr/lib/gcc/avr/4.6.0/include/float.h /usr/lib/gcc/i686-pc-mingw32/4.7.1/include/float.h /usr/lib/gcc/i486-slackware-linux/4.5.2/include/float.h So, you can see here I have my i686-pc-mingw32 cross compiler (Linux->Windows) but also an other cross compiler : avr. It is a cross compiler for programming my microcontroller Atmel attiny2313 :) Anyway I see FLT_MIN_EXP in my avr cross compiler, in my slackware compiler but not in my i686-pc-mingw32 compiler : $ cat /usr/lib/gcc/avr/4.6.0/include/float.h | grep FLT_MIN_EXP #undef FLT_MIN_EXP #define FLT_MIN_EXP __FLT_MIN_EXP__ $ cat /usr/lib/gcc/i486-slackware-linux/4.5.2/include/float.h | grep FLT_MIN_EXP #undef FLT_MIN_EXP #define FLT_MIN_EXP __FLT_MIN_EXP__ $ cat /usr/lib/gcc/i686-pc-mingw32/4.7.1/include/float.h | grep FLT_MIN_EXP So, maybe I have incorrectly build my i686-pc-mingw32 cross compiler... What you think about this? |