delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/08/09:40:44

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Mon, 8 Apr 2002 17:36:56 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Kunal Gangakhedkar <kgangakhedkar AT softhome DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Preprocessor directives
In-Reply-To: <9b84a27b.0204080459.66818425@posting.google.com>
Message-ID: <Pine.SUN.3.91.1020408173248.3145C-100000@is>
MIME-Version: 1.0
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

On 8 Apr 2002, Kunal Gangakhedkar wrote:

> But again, the same question arises, how do I find out how and what
> all things (in this context of OS)are supported by the compiler, if
> there isn't a general way of doing these things??

You find this out by reading the documentation of the compiler.  There's 
no other way, AFAIK.

> Then only can I finalise or choose a proper compiler.
> If a compiler does not provide what I want, then there is no way I'll
> use it (or test it for that matter...)

If you have a list of specific features you need to be supported, you can 
ask on the appropriate forum (for DJGPP, this forum is the right one).

> > Most Windows compilers have _WIN32 defined, IIRC.
> > 
> This is a general Win32 macro to detect the presence of Win32 bit
> environment.
> It does not say anything about whether it is NT or 9x.

If you need to know the specific type of Windows you are running on, 
there are functions for that (for example, GetVersionEx).

- Raw text -


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