Mail Archives: djgpp/2000/01/18/13:46:45
On Mon, 17 Jan 2000, Eli Zaretskii wrote:
>
> Even if editing specs solves the problem, I don't think it's a solution,
> because -imacros is there for a reason (so that even in a program that
> doesn't include stdio.h __DJGPP__ and __DJGPP_MINOR__ are defined
> correctly). Perhaps GCC has some switch that makes it ignore headers
> which come through -imacros. If not, perhaps we need to ask for such a
> switch. (Or perhaps you could view this as a feature: a different libc
> version does require to recompile, right? ;-)
>
As I already said earlier, (according some my tests) it seems that
this hack didn't want to work with gcc-2.96 development versions.
I haven't tested it for DJGPP about a month, but it worked
with gcc 2.96 20000117 compiled for target i586-pc-linux-gnu. I
still think that we should drop such hacks in future. Forcing user to
include stdio.h or directly sys/version.h is not so terrible.
Sorry for returning to this topic once more
Andris
- Raw text -