delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/05/15:15:01

Date: Sat, 05 May 2001 21:17:36 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: JT Williams <jeffw AT darwin DOT sfbr DOT org>
Message-Id: <2427-Sat05May2001211736+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <20010505102525.A20373@kendall.sfbr.org> (message from JT
Williams on Sat, 5 May 2001 10:25:25 -0500)
Subject: Re: __DJGPP__ and MSDOS
References: <20010430093758 DOT A5379 AT kendall DOT sfbr DOT org> <Pine DOT SUN DOT 3 DOT 91 DOT 1010430192119 DOT 19343D-100000 AT is> <20010504160823 DOT A19921 AT kendall DOT sfbr DOT org> <1438-Sat05May2001094057+0300-eliz AT is DOT elta DOT co DOT il> <20010505102525 DOT A20373 AT kendall DOT sfbr DOT org>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019