delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/14/22:40:47

X-Spam-Check-By: sourceware.org
Date: Mon, 14 Aug 2006 22:40:34 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "William A. Hoffman" <billlist AT nycap DOT rr DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: change in behavior of make from 3.80 to 3.81
In-Reply-To: <6.2.0.14.2.20060814213115.093f2a40@pop.nycap.rr.com>
Message-ID: <Pine.GSO.4.63.0608142225030.13215@access1.cims.nyu.edu>
References: <17632 DOT 65094 DOT 528377 DOT 623813 AT segfault DOT lan> <009a01c6bfff$934e8480$a501a8c0 AT CAM DOT ARTIMI DOT COM> <6 DOT 2 DOT 0 DOT 14 DOT 2 DOT 20060814213115 DOT 093f2a40 AT pop DOT nycap DOT rr DOT com>
MIME-Version: 1.0
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 Mon, 14 Aug 2006, William A. Hoffman wrote:

> OK, so to summarize.
>
> - there is no options or special syntax that will allow the
> make 3.81 to recognize drive letters in such a way that native
> windows tools can use them.

Correct.

> /c/ and /cygdrive/c/ will only work with applications built against
> the cygwin libraries.

Also correct.

> MS cl can no longer be used with cygwin make as of 3.81.

Incorrect.  See below.

> - cygwin will no longer maintain the patch to make that allowed
          ^maintainer                 ^cygwin-specific
> it to recognize driver letters in paths.

Correct.

> - A second make-winpath as part of the cygwin package is not an option
> that would be accepted into cygwin.

Not unless it comes from upstream, yes.

> - The option for folks that want the old behavior is to have the change
> integrated into the upstream sources of gmake.

One option, yes.

> Perhaps something along the lines of /c/ that would be translated by
> gmake itself into c:, so that no special parsing would be required for
> the makefiles.

Yuck!  Maybe have them simply accept the --win32 option or recognize the
MAKE_MODE environment variable, like Cygwin make used to do?

> - The other option is to use mingw-make, and only use cygwin make
> for cygwin linked programs only.

Incorrect.  If you use Cygwin make, it's very easy to invoke Windows
programs by converting their arguments with "cygpath -w" (or, barring
that, with a perl or sed script).  I've done that, others have done that.
If you are generating the code to invoke the Microsoft cl compiler, simply
use something like $(foreach f,$^,$(shell cygpath -w $f)) as the argument
to cl.

> Sounds like it is time to join the gmake mailing list.  Has anyone
> on this list tried that yet?

If you are asking whether anyone has posted a suggestion to add Win32 path
support to make, why not check the archives[1]?  FWIW, the make-w32
list[2] might be a better starting point.
HTH,
	Igor
[1] <http://lists.gnu.org/archive/html/help-make/>
[2] <http://lists.gnu.org/archive/html/make-w32/>
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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