Mail Archives: opendos/1998/03/08/15:33:58
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 -