Mail Archives: djgpp/1999/09/04/08:47:10
Steve Ball wrote:
>
> I experience the same problems (with streambuf.h) when trying to compile in
> Window 98's MS-DOS mode. I would dearly love to be able to do all my
> compilation without Windows loaded because the program depends centrally on
> timing routines which get querked under a pre-emptive scheduling o/s. Is it
> possible to compile and run program under DOS?
Yes. The problem is that in DOS, a program can see only the short alias
of your long names. Windows aliases streambuf.h as stream~1.h, which
isn't recognizably equivalent.
If DOS is most important to you, then reinstall DJGPP using PKUNZIP or
some other non-LFN unzipper, set LFN=N in your environment, and never
look back. You won't be able to see long file names even in Windows,
however. It's an all-or-nothing deal.
The other option, if you want both to work, is to set NameNumericTail to
0, so that streambuf.h will get a short alias of streambu.h (which
*is* equivalent under DOS), and reinstall with Winzip. Unfortunately,
Windows is a bit averse to letting you change this, but FAQ section
22.18 explains how to do it.
> Running under DOS crashes the program in __crt1_startup before main even
> starts! What's a boy to do?
That's a separate question. Please post the symified traceback.
--
Nate Eldredge
neldredge AT hmc DOT edu
- Raw text -