delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/27/17:09:41

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Message-ID: <17609.11132.462789.443104@lemming.engeast.baynetworks.com>
Date: Thu, 27 Jul 2006 17:09:16 -0400
To: Brian Dessent <brian AT dessent DOT net>
Cc: bug-make AT gnu DOT org, cygwin AT cygwin DOT com
Subject: Re: 3.81 and windows paths
In-Reply-To: <44C92033.A2978A8E@dessent.net>
References: <20060727195042 DOT GC27890 AT brasko DOT net> <44C92033 DOT A2978A8E AT dessent DOT net>
X-Mailer: VM 7.19 under Emacs 21.4.1
From: "Paul D. Smith" <psmith AT gnu DOT org>
Reply-To: "Paul D. Smith" <psmith AT gnu DOT org>
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

%% Brian Dessent <brian AT dessent DOT net> writes:

  bd> To summarize, the Cygwin version of make prior to 3.81 contained
  bd> local patches to support both posix and Windows paths.  The Cygwin
  bd> maintainer got tired of continuously maintaining these local
  bd> patches and so when packaging 3.81 the vanilla sources were used.
  bd> This means that only posix paths work.

Thanks Brian; I had no idea about this decision on the part of the
Cygwin maintainers (and the minor brouhaha it apparently generated :-)).

Now that I know about this I have a much better understanding of what's
going on: I couldn't figure out how upgrading from 3.80 to 3.81 was
causing these problems--unfortunately most people neglect to mention
they're using Cygwin until asked specifically (heck many don't even
mention they're using Windows!! :-/)

  bd> However, completely separate from Cygwin is the native (mingw)
  bd> build of make which has always supported Windows paths and always
  bd> will.  So it's completely wrong to say that make doesn't support
  bd> Windows paths.  You should use this version if you need to support
  bd> such paths.

I agree with this: you can build GNU make in 2 or 3 different ways, all
of which natively support DOS-style pathnames and have always done
since DOS/Windows support was first added back in GNU make 3.76 or so.

I believe that this support is limited to handling drive letters without
choking on the ":", actually: IIRC the native support still requires
forward slashes (/) rather than backslashes (\).  I could be wrong
though.  I'm not sure how Cygwin's pathname management patches worked.


In fact, I'm wondering if there is an advantage to building GNU make
using the Cygwin environment, vs. using a native MingW (for example)
build of GNU make?  I'm afraid I'm woefully ignorant about the details.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith AT gnu DOT org>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

--
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