delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/28/12:07:54

Sender: nate AT cartsys DOT com
Message-ID: <374EBF2A.CEA47788@cartsys.com>
Date: Fri, 28 May 1999 09:07:06 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: problem with filenames
References: <fcd874f5 DOT 247fa75a AT aol DOT com>
Reply-To: djgpp AT delorie DOT com

Mbaccar AT aol DOT com wrote:
> 
>    I installed the djgpp sources today. ls command gives
> 
> bash$ ls
> acrobat3  aol40     mssql     orant     tcl
> adobeapp  java      myproj~1  perl      temp
> bash$
> 
>   This is the 8.3 dos filename problem (myproj~1). The file system
> is NTFS which supports long filenames. djgpp.env file specifies
> LFN=y. What's the problem?
> 
>    Currently, gxx is failing to find header files because of this
> 8.3 problem.

See FAQ section 8.2.  Basically, although NT's file system supports long
file names, the OS doesn't provide the API to DOS boxen, which is what
DJGPP needs to access them.  If you want to know why not, ask Microsoft.

You will have to reinstall DJGPP, using an unzipper that *doesn't* try
to use long file names (PKUNZIP, for instance).  The headers and such
will work then, because GCC will see things like streambu.h, without a
numeric tail.

Alternatively, there is an experimental driver for LFN on NT; see FAQ
section 3.3.  I have heard reports that it works, but not completely.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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