Mail Archives: djgpp/2015/05/18/10:29:13
> Date: Mon, 18 May 2015 16:06:19 +0300
> From: "Ozkan Sezer (sezeroz AT gmail DOT com)" <djgpp AT delorie DOT com>
>
> The discussion is about we are pointing to gcc's headers directory
> for allowed includes when building djgpp itself, whereas
>
> (i) we don't need that at all anymore (it was done only to work around
> a gcc builtin problem and it got solved without needing this hack),
>
> (ii) we are building with -nostdinc which means we are self-
> sufficient, and that hack is against this,
>
> (iii) since our DBL_MAX, etc are not compile time constants but symbols,
> and gcc ones are, the binary output of several djgpp functions such as
> strtod, etc, are different with and without gcc-headers hack.
>
> Those are the reasons I am against allowing gcc's headers in djgpp
> build.
AFAIR, -nostdinc means without library headers, but it does not
preclude the headers that are internal to the compiler.
IOW, I'm not sure I understand the problem you have with what we do.
Can you elaborate?
- Raw text -