cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/04/08:47:10

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP/Long filename problems in Windows NT/DOS box :-(
Date: Fri, 03 Sep 1999 20:29:52 -0700
Organization: Harvey Mudd College
Lines: 31
Message-ID: <37D09230.DEF6B57E@hmc.edu>
References: <7qmhn5$v0n$1 AT nnrp1 DOT deja DOT com> <7qn8he$7ajkq$1 AT titan DOT xtra DOT co DOT nz>
NNTP-Posting-Host: mercury.st.hmc.edu
Mime-Version: 1.0
X-Trace: nntp1.interworld.net 936415807 21221 134.173.45.219 (4 Sep 1999 03:30:07 GMT)
X-Complaints-To: usenet AT nntp1 DOT interworld DOT net
NNTP-Posting-Date: 4 Sep 1999 03:30:07 GMT
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.12pre4 i586)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


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