delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/22/18:19:46

X-Spam-Check-By: sourceware.org
Date: Sat, 22 Jul 2006 18:19:30 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Why are Windows paths broken in make 3.81?
Message-ID: <20060722221930.GA18054@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <9c2aabaf0607211629u4e29ffa1w5f09b3d8e5a923fc AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <9c2aabaf0607211629u4e29ffa1w5f09b3d8e5a923fc@mail.gmail.com>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, Jul 21, 2006 at 05:29:16PM -0600, Michael Hirsch wrote:
>Here is a sample Makefile that breaks with Gnu Make 3.81-1 under
>Cygwin, but works fine with Gnu Make 3.80-1.  We have been writing
>these types of Makefiles for years, using both Windows and Cygwin
>tools, and this is the first time Make has ever broken like this.
>
>I see in another thread that this is a known issue, though I don't see
>it in the changelogs for make 3.81.

Huh?  It was mentioned in the release announcement.  You wouldn't see
the changes in any official make changelogs since the patches were never
in the official version of make.

>Was this a deliberate break with backwards compatibility?

Since it was mentioned in the release announcement, you can safely assume
that it was deliberate.

>It means that every single reference to a windows path needs to be
>wrapped in cygpath, which is a huge inconvenience.

Or, you could investigate the mingw verison of make, as was mentioned in
the release announcement.

Hmm.  A pattern seems to be developing.

>Is it broken only on Windows?  Since ':' is a legal file character in
>unix I wouldn't expect this to  be a problem in the gnu make sources.
>Is this a cywin only bug?  What possible reason could there be to
>introduce this deliberately?

I participate in cygwin because I like providing a linux-like interface
on Windows.  I have no personal interest in standing on my head to
maintain MS-DOS filenames in utilities which do not already support them
out of the box.  By foregoing the pain of forward porting the cygwin
MS-DOS patches, I can release new versions of make with minimal effort.
This benefits all of the people who are using the tool "correctly" with
POSIX-like paths.

(Yes, I know I could have submitted the patches upstream long ago but I
would still end up maintaining this hack regardless)

If this is unacceptable then feel free to stay on the previous version of
make.exe, use the mingw version, or even roll your own.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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