delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/15/18:33:18

Message-ID: <32DD7F30.F74@gbrmpa.gov.au>
Date: Thu, 16 Jan 1997 09:20:50 +0800
From: Leath Muller <leathm AT gbrmpa DOT gov DOT au>
Reply-To: leathm AT gbrmpa DOT gov DOT au
Organization: Great Barrier Reef Marine Park Authority
MIME-Version: 1.0
To: scott AT statsci DOT com
CC: djgpp AT delorie DOT com
Subject: Re: DJGPP w/long file name support
References: <Pine DOT SUN DOT 3 DOT 91 DOT 961202083946 DOT 14161H-100000 AT is> <vmwwthgkav DOT fsf AT statsci DOT com>

> 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.)

NT really is not suited for DOS development... :(  I think Eli can
update
this in the FAQ to something that says that NT 4.0 does _not_ support
the
LFN API in a DOS box... bummer huh? :)
 
> 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).

Well, as I have no idea about the cmd.exe, I can't be sure, but I think
its been completely rewritten for that sort of stuff... it seems to be
a MSVC application, not another command.com of sorts....

> 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!

You could port the make program to MSVC... It should be possible, I just
don't know how much work is required... ;)

Leathal.

- Raw text -


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