make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows binary for make with HAVE_CASE_INSENSITIVE_FS flag


From: Cesar Strauss
Subject: Re: Windows binary for make with HAVE_CASE_INSENSITIVE_FS flag
Date: Sun, 04 Jul 2010 20:32:15 -0300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4

On 2/7/2010 09:53, Eli Zaretskii wrote:
Date: Fri, 02 Jul 2010 11:42:47 +0000
From: Greg Chicares<address@hidden>
CC: James<address@hidden>, Eli Zaretskii<address@hidden>

On 2010-07-01 20:40Z, James wrote:

Shouldn't HAVE_CASE_INSENSITIVE_FS be the default on a build for Windows?

Here's a test case which that would break:

http://old.nabble.com/Case-aware-file-matching-for-case-preserving-file-systems-td17297685.html

More generally, GNU Make is used with many projects that came from the
Posix world, and therefore expect case-sensitive filesystems.
Therefore, Make internals assume such a system in too many places, and
you need to fix them all before you'll have a truly case-insensitive
build of Make that won't trip on problems such as the one above.

I think I have found a way for GNU Make to accept a mix of case-sensitive and case-insensitive rules on Windows. Unfortunately, I do not have the time to create a proper polished patch for contribution. I attach my current work below, in the hope that it will be useful. I also include a test-case for it.

Regards,
Cesar

Attachment: Makefile
Description: Text document

Attachment: mixed_case_rules.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]