delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/02/07:15:23

From: "Ben Peddell" <lightspeed85 AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <1046562627 DOT 9a015bc0brunodarocha AT myrealbox DOT com>
Subject: Re: about: DOS FILE NAMES LIMITED TO 8 CHARS
Lines: 33
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <nqm8a.58937$jM5.149302@newsfeeds.bigpond.com>
Date: Sun, 2 Mar 2003 22:16:50 +1000
NNTP-Posting-Host: 144.134.90.195
X-Trace: newsfeeds.bigpond.com 1046606611 144.134.90.195 (Sun, 02 Mar 2003 23:03:31 EST)
NNTP-Posting-Date: Sun, 02 Mar 2003 23:03:31 EST
Organization: Telstra BigPond Internet Services (http://www.bigpond.com)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Bruno da Rocha <brunodarocha AT myrealbox DOT com> wrote in message
news:1046562627 DOT 9a015bc0brunodarocha AT myrealbox DOT com...
>
> PLEASE: Answer this e-mail to brunodarocha AT myrealbox DOT com
>
> Dear friends,
>
> I love to use DJGPP on my projects, but in several
> projects I have made with it I needed to use
> files with long file names; what I guess is
> not possible with DJGPP.
>
> Somebody knowns how to solve it?!
>
> Bruno da Rocha Braga
> brunorb AT ravel DOT ufrj DOT br
>
> Federal University of Rio de Janeiro
> Brazil
>

DJGPP can accept long file names under Win9x (and other OSes that implement
the Win9x LFN API). I don't think it can under WinNT, unless thay've added
the LFN API to the DOS BOX in later versions of WinNT.
Programs compiled with DJGPP seem to query the OS as to whether it
implements the Win9x LFN API. On the other hand, GCC uses the LFN variable
in the DJGPP.ENV file to determine whether or not to use Long File Names (a
good thing, since unzip programs tend to truncate the filename in the
absence of LFN).



- Raw text -


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