delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/27/20:16:54

X-Spam-Check-By: sourceware.org
Message-ID: <44C95766.3040904@eagercon.com>
Date: Thu, 27 Jul 2006 17:16:38 -0700
From: Michael Eager <eager AT eagercon DOT com>
User-Agent: Thunderbird 1.5.0.4 (X11/20060614)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, bug-make AT gnu DOT org
Subject: Re: 3.81 and windows paths
References: <20060727195042 DOT GC27890 AT brasko DOT net> <44C92033 DOT A2978A8E AT dessent DOT net> <17609 DOT 11132 DOT 462789 DOT 443104 AT lemming DOT engeast DOT baynetworks DOT com> <20060727221136 DOT GD6653 AT trixie DOT casa DOT cgf DOT cx>
In-Reply-To: <20060727221136.GD6653@trixie.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Christopher Faylor wrote:
> On Thu, Jul 27, 2006 at 05:09:16PM -0400, Paul D. Smith wrote:
>> 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.
> 
> There is no advantage using cygwin if you want to use a Makefile which
> contains MS-DOS paths.  Using MinGW makes perfect sense in that case.
> Despite having suggested this repeatedly, it seems some users are still
> not clear on this concept.

When I ran into this problem, it was because there was a
WINDOWS environment symbol referenced in a dependency.
It's not practical to change the environment symbol -- it is
used by both makefiles and native windows programs.  Nor is it
practical to re-write the paths in the makefile -- because the
makefile needs to reference this (and other) shared environment symbols,
which are not fixed in the makefile.

There are two equally unpleasant resolutions recommended:
either install two products (Cygwin and MinGW) or retain
a back-level version of make, forgoing all future bug fixes.
Neither are very good, but I've opted for the second choice.

It seems to me that it should be possible to have the
DOS path within quotes, so that it doesn't trigger make's
pattern matching syntax.  That would be a more acceptable
solution than the other two.

-- 
Michael Eager	 eager AT eagercon DOT com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

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