delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/18/11:45:36

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: long header file names possible in gcc NT 4.0?
Date: Tue, 18 Aug 1998 11:31:06 -0300
Organization: NBTel Internet
Lines: 25
Message-ID: <35D99029.485C77AC@unb.ca>
References: <Exv4I8 DOT MxB AT campus-news-reading DOT utoronto DOT ca>
NNTP-Posting-Host: fctnts13c42.nbnet.nb.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Gary Ferland wrote:

> does this mean that long header file names are not supported at all by gcc
> under NT?
> thanks,

    In the standard package, yes.  If you wish to fix the problem, then ensure
you have "SET LFN=n" in your autoexec.bat file, and then whenever you get an
error like "cannot find streambuf.h" or something, just rename the file to it's
8.3 equivalent "streambu.h", there are a few others that you will have to worry
about, just chop off everything after 8 characters.  The reason you have to do
this is because WinNT (like Win95) displays "~"s with shortened file-names (but
only to dos programs).  There is a way to turn this off in Win95, is there a way
to turn this off under NT?  Either way, if you want to fix it all at once, you
can re-install with a DOS 8.3 unzipper (good old pkunzip).

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlis AT nbnet DOT nb DOT ca




- Raw text -


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