Date: Sun, 8 Mar 1998 12:20:16 -0800 (PST) From: Evan Dickinson 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.