Date: Wed, 18 Dec 1996 17:28:42 +0200 (IST) From: Eli Zaretskii To: "Dr. John Refling" cc: djgpp AT delorie DOT com Subject: Re: compiling with long file names under win95 In-Reply-To: <597v0k$klo@overload.lbl.gov> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 18 Dec 1996, Dr. John Refling wrote: > I can't get djgpp to recognize a long filename in a dos box on win95, eg, > > gcc thisisalongfilename.c > > complains: > > gcc.exe: thisisalongfilename.c: no such file or directory (ENOENT) > gcc.exe: No input files > > Am I missing something simple here? Thanks. You didn't tell DJGPP to support long filenames. It is disabled by default. You have two alternatives: 1) set LFN=y in the environment in the DOS box before running DJGPP programs. 2) edit DJGPP.ENV file and change this line: +LFN=n to say this: +LFN=y That's all! For more details about LFN support, read the documentation of library function `_use_lfn' in the libc reference (file info/libc.inf). I suggest you indeed read that docs, since there are more hidden features waiting there to be discovered by you.