delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/30/13:32:00

X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f
Date: Mon, 30 Apr 2001 11:35:29 -0500
From: JT Williams <jeffw AT darwin DOT sfbr DOT org>
To: djgpp AT delorie DOT com
Subject: Re: __DJGPP__ and MSDOS
Message-ID: <20010430113529.A5691@kendall.sfbr.org>
Mail-Followup-To: djgpp AT delorie DOT com
References: <20010430093758 DOT A5379 AT kendall DOT sfbr DOT org> <Pine DOT SUN DOT 3 DOT 91 DOT 1010430192119 DOT 19343D-100000 AT is>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <Pine.SUN.3.91.1010430192119.19343D-100000@is>; from eliz@is.elta.co.il on Mon, Apr 30, 2001 at 07:23:20PM +0300
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

> My experiments lead me to believe that __MSDOS__ is defined `immediately'     
> by the preprocessor (by virtue of using a gcc that was built for DOS),        
> but that __DJGPP__ is not defined until I #include a *system* header.         
                                                                                
That might be true (depending on what version of GCC do you use), but           
even if it is so, the necessary header is included by the preprocessor          
before anything else, because the specs file tells it to do so with the         
-isystem switch.                                                                

I'm using gcc 2.7.2.1 with (recently installed) binutils 2.10; could
this combination have introduced a subtle misfeature with respect to
the specs file?  (I plan to upgrade to 2.95.3 tonight, to see if that
makes any difference).

-- 
TIA/jtw

- Raw text -


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