delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1998/03/08/15:33:58

Date: Sun, 8 Mar 1998 12:20:16 -0800 (PST)
From: Evan Dickinson <evand AT wsunix DOT wsu DOT edu>
Reply-To: evand AT scn DOT org
cc: opendos AT delorie DOT com
Subject: Re: Long File Name Use
In-Reply-To: <889274541.2024570.0@thefont.demon.co.uk>
Message-ID: <Pine.OSF.3.95.980308121457.18610A-100000@unicorn.it.wsu.edu>
MIME-Version: 1.0

On Sat, 7 Mar 1998, Robert Parker wrote:

> Hi,
> I've installed the long filename beta product but when I try to pass a long
> filename to the DJGPP compiler (gcc) it complains that the file cannot
> be found.
> 
> How does the long filename functionality work ? I would have thought that
> it intercepted the standard DOS interrupt for opening files and applied any 
> long filename look-up necessary then passed the actual 8.3 name to the 
> original DOS interrupt - that way programs dont need modifying to use long
> filenames (providing the program allocates a large enough buffer to store
> long filenames - which shouldn't be a problem for gcc as it is presumably a
> port from the Unix implementation)

Type this at the prompt before running any DJGPP-compiled program
(including gcc) that you want to use long filenames with: 

set lfn=y

Conversely, set lfn=n will turn off long filenames.

You are correct in assuming that your programs won't need any special
modifications to use long filenames, and that DJGPP is a port of the UNIX
gcc compiler.


- Raw text -


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