Mail Archives: djgpp/2001/05/05/15:15:01
> Date: Sat, 5 May 2001 10:25:25 -0500
> From: JT Williams <jeffw AT darwin DOT sfbr DOT org>
>
> -: > So, depending on header #include order, __DJGPP__ may not be defined
> -: > and available for #ifdef testing inside `hello.h'.
> -:
> -: I suspect that you don't have a specs file, or use specs from a later
> -: GCC distribution. GCC 2.7.x needs lib/specs to define the symbol
> -: __DJGPP__ (and also __DJGPP_MINOR__) to the right values.
>
> There is no specs file on my stock djgpp system, and this is because the
> gcc2721b.zip archive does *not* contain a specs file
Right. I din't mean to say that specs file is in the GCC 2.7.x
distribution: it isn't. You need to get it from djdev. The last
version of djdev that was distributed with a specs file was
djdev202.zip, IIRC. You will have to edit it to bump __DJGPP_MINOR__
to 3.
> Or is this old gcc incompatible with djgpp 2.03?
It isn't incompatible (I use it all the time), you just need to keep
the specs file from older djdev distributions.
- Raw text -