delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/27/19:24:15

X-Spam-Check-By: sourceware.org
Date: Thu, 27 Jul 2006 19:24:04 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 3.81 and windows paths
Message-ID: <20060727232404.GA9002@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <008e01c6b1cc$76021310$280aa8c0 AT oius DOT com> <44C940D2 DOT 3E07ABCA AT dessent DOT net> <20060727225255 DOT GG6653 AT trixie DOT casa DOT cgf DOT cx> <44C94746 DOT D730AF53 AT dessent DOT net>
Mime-Version: 1.0
In-Reply-To: <44C94746.D730AF53@dessent.net>
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 Thu, Jul 27, 2006 at 04:07:50PM -0700, Brian Dessent wrote:
>Christopher Faylor wrote:
>>Actually, we have had people who have complained because make became
>>confused by certain uses of a ':' in the old version of make.  I see
>>now that this is because of the attempt to interpret a valid make rule
>>as a MS-DOS path.
>>
>>So, I'm less inclined to want to recommend an upstream patch.  I don't
>>think I want to break valid makefiles which work on linux.
>
>Well surely such a patch would include sufficient logic to know that
>^[a-z]:[/\\] incidates a DOS path and not to just blindly puke and cry
>on a path component that happens to have a : in it somewhere.

I'm saying that I think it is possible for a valid makefile to be
interpreted incorrectly in the presence of a ':' when make interprets
the ':' as a filename component.  I remember a couple of reports in the
last few years from people who stumbled across a parsing problem due to
colons which wouldn't have been a problem if cygwin's MS-DOS aware make
hadn't been trying to treat colons specially.

So, I don't think that MinGW's make accepts a superset of linux
makefiles and MS-DOS colon-using makefiles.  I think it actually accepts
a subset of all valid linux makefiles.

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