www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/29/12:42:30

Date: Thu, 29 Oct 1998 19:38:10 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Ezequiel Valenzuela <ezequiel-ml AT writeme DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Make v3.77 possible bug
In-Reply-To: <199810290453.XAA24949@pop01.globecomm.net>
Message-ID: <Pine.SUN.3.91.981029193129.19933V-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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 -


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