Mail Archives: djgpp/1997/01/19/02:38:10
On Thu, 16 Jan 1997, Scott Blachowicz wrote:
> transformed into a native DOS path. There's also other little tricks you
> might want like transforming /dev/tty into CON:, but that's relatively
You don't need that one with DJGPP: it knows about /dev/tty.
> > complete because it conflicts with some fundamental Make features such
> > as filename wildcards etc).
>
> Not to mention having colons in filenames...
I think the Win32 version supports colons also.
> Yes, but I also need to use some native DOS tools which tend to like
Why? IMHO, any native DOS tool can be replaced with a ported Unix tool.
> Do you have a handy bit of code that could auto-detect the condition of
> "running under NT"?
Call "_get_dos_version (1)" and see if it returns 5.50. AFAIK, NT is the
only case that returns that version number.
- Raw text -