This is the mail archive of the libc-help@sourceware.org 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]

Re: Where is FLT_MIN_EXP ?


On Sun, 23 Dec 2012 19:35:49 -0500
Mike Frysinger <vapier@gentoo.org> wrote:

> On Saturday 22 December 2012 10:50:41 YuGiOhJCJ Mailing-List wrote:
> > OK. So I have an other question.
> 
> please don't top post
> 
> > Can you tell me why the code below[1] can compile[2] whereas FLT_MIN_EXP
> > isn't defined ?
> 
> you can ask gcc on your own system:
> 	gcc -E -dD main.c
> 
> look for FLT_MIN_EXP and see what file is defining it
> -mike

Nice mike, thank you.
According to the output of the command, the FLT_MIN_EXP declaration is here:
/usr/lib/gcc/i486-slackware-linux/4.5.2/include/float.h

A thing that I don't understand is why this file is not in the "/usr/include" directory.
That's here that we put all the includes files.

Why the float.h file isn't in the "/usr/include" directory?
What the difference between the headers in "/usr/include" and the headers in "/usr/lib/gcc/my-target-architecture/my-compiler-version/include"?

Thank you.
Regards.


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