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 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; 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 Precedence: bulk > 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