Newsgroups: comp.os.msdos.djgpp From: Scott Blachowicz Subject: Re: DJGPP w/long file name support Message-ID: Lines: 37 Sender: scott AT apple Reply-To: scott AT statsci DOT com Organization: Mathsoft, Inc (Data Analysis Products Div) References: Date: Tue, 14 Jan 1997 00:41:27 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp >>>>> "Eli" == Eli Zaretskii Eli> You are kidding, right? DJGPP v2 supports long filenames Windows 95 Eli> style *right out of the box*! You don't need to do anything, just Eli> set LFN=y in the environment and run your DJGPP programs. Ahh...what about NT 4.0? I've just been tryin to go from Win95 to NT 4.0, but the make program can't find my GNUmakefile and the find program list the 8.3 names. I've got LFN=y, but I just went poking around and found a mention in the FAQ: > 3.3 Will it work under Windows/NT? > ================================== > > **Q*: What about Windows NT?* > ... > Note that the long filename API for DOS box is not supported by current > versions of Win/NT, so you cannot have long filenames there. (There is a > rumor that the new version 4.0 of WinNT will support the LFN API, but I'm > told that at least the current beta versions still don't.) and was wondering if anyone's done some work to get this to behave itself. In my case, the DOS 'dir' command sees the LFNs, but not the DJGPP make or find programs. What "LFN API" is that referring to? I wrote a quicky little program to use the DOS _findfirst() function and IT returns the LFNs for me on both Win95 and NT 4.0. If I'm decyphering things right, it looks like the DJGPP libc code ends up going into dpmi_int() to get lfn information (where _I_ get lost, being primarily a Unix programmer). I really need to find a GNU make program that works (i.e. finds all my files) on our Win95 and NT development platforms. Suggestions welcome! Thanx! -- Scott Blachowicz Ph: 206/283-8802x240 Mathsoft (Data Analysis Products Div) 1700 Westlake Ave N #500 scott AT statsci DOT com Seattle, WA USA 98109 Scott DOT Blachowicz AT seaslug DOT org