www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/17/04:21:56

Date: Thu, 17 Sep 1998 11:21:45 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Doug Gale <dgale AT mailexcite DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: LFNS: A newbie like question.
In-Reply-To: <3600B149.E9C8C9B7@mailexcite.com>
Message-ID: <Pine.SUN.3.91.980917111828.10789D-100000@is>
MIME-Version: 1.0

On Thu, 17 Sep 1998, Doug Gale wrote:

> Ok, so what happens if I DON'T set LFN=Y, like
> say, I send the program to someone that isn't a DJGPP programmer, with a nice
> autoexec, with LFN=Y?

You do NOT have to set LFN=y for the long file name support to work.  The 
DJGPP startup code detects automatically that long file names are 
supported by the OS and switches to use LFN-aware functions of Int 21h.

The only reason that people who have DJGPP v2.01 installed need to set 
LFN=y is that stock DJGPP.ENV that comes with djdev201.zip *disables* LFN 
support, and without setting LFN=y in the environment, you can't have it.

But if DJGPP is not installed, this setting is not required.

- Raw text -


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