Mail Archives: djgpp/2002/04/08/09:40:44
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 -