delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/04/11/15:57:05

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-Id: <200004112054.PAA15038@hp2.xraylith.wisc.edu>
To: Mo DeJong <mdejong AT cygnus DOT com>
cc: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: "make" seems to be broken on Win95.
In-reply-to: Your message of "Tue, 11 Apr 2000 11:24:22 PDT."
<Pine DOT LNX DOT 4 DOT 10 DOT 10004111117530 DOT 23883-100000 AT abomination DOT cygnus DOT com>
Date: Tue, 11 Apr 2000 15:54:04 -0500
From: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>

Mo DeJong <mdejong AT cygnus DOT com> writes:
> Hi all.
> 
> I just tired to build the installer from the CVS when
> I ran into a problem with make. Cygwin's version of
> make pukes out if the case of a file differs from
> what is expected in a build rule. Here is a quick
> example.
> 
> BASH.EXE-2.03$ ls
> MER.C     Makefile  error.c
> 
> BASH.EXE-2.03$ cat Makefile
> SHELL=/bin/sh
> 
> %.o: %.c
>         @echo converting $? to $@
> 
> all: error.o mer.o

DJ already talked about this, so I'll just point out two quick items:

- Make already has a (compile-time) provision for using case insensitive
  filenames, but it breaks implicit rules in a horrible way. Is MER.C a
  C++ file or is it a C file? Does the FOO.F file need to pre-processed 
  or is it really just `foo.f'? Please remember that most of the tools
  are just repackaged Unix tools, and lots of Unix'ism is buried quite
  deep (eg., gcc's use of the filename extensions). 

- Issues like this belong in the general list since this is more of an
  "user tool" issue rather than the underlying API issue.

The Cygwin mailing list has seen this discussion quite a few times before
and should have it archived. It should be pretty easy to provide a command
line or an env variable to choose this behaviour at runtime.

Regards,
Mumit

- Raw text -


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