Mail Archives: djgpp/1998/10/29/12:42:30
On Thu, 29 Oct 1998, Ezequiel Valenzuela wrote:
> I am an experienced Make user, and i am getting into trouble when using the
> Win32 version (under Windows NT Server 4 with service pack #3 installed).
I'm confused. You write to the DJGPP forum, and refer below to FNCASE,
which is a DJGPP-specific environment variable, but you also say you are
using ``the Win32 version'' of Make? Which one is right? Do you indeed
use the DJGPP port of Make 3.77? If not, I cannot help you with this
problem.
> The 'rule' of automatic down-casing of filenames that are 8+3 compliant
> does not seem to work properly in $(wildcard ... ) function. I am using
> this and it would be natural for this function to work in concordance with
> the rest of make.
Please provide an example. AFAIK, it should work, especially on NT where
*all* file names are downcased by the DJGPP port, since a DJGPP program
cannot access long file names on NT.
> I have read the README.DOS file, i have set the FNCASE environment variable
> in my command processor's environment, within my makefile, and through
> parameters. But I cannot get this to work as expected. It seems that
> $(wildcard ... ) is on its own.
When you set FNCASE=y on NT (or plain DOS), you get the opposite of what
I think you want: ALL file names will appear in UPPER case, since that is
how legacy DOS calls return them. This is documented in the DJGPP
library reference.
> The fact is that some DOS tools (Borland's Turbo Link, etc.) create files
> in upper case, while my editor works in lower case & upper case (it's a
> Win32 editor), etc.
What exactly would you want Make to do for you, in this context?
Obviously Make cannot reconcile DOS programs with the NT filesystem.
- Raw text -