make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows make invoking cygwin sh bug


From: Eli Zaretskii
Subject: Re: Windows make invoking cygwin sh bug
Date: Fri, 18 Mar 2011 17:09:20 +0200

> Date: Fri, 18 Mar 2011 09:42:05 -0400
> From: Alex Khripin <address@hidden>
> Cc: address@hidden
> 
> I do want to correct you: GNU make _does_ know that it is being used with
> Cygwin. When you build GNU make on Windows, you have to specify, in
> config.h.W32, that it is going to be calling the Cygwin shell. It is based
> on that compiler option that it knows, for example, that nested double
> quotes should be escaped as "" instead of \". Here's a quote
> /*
>  * Define if you have the Cygnus "Cygwin" GNU Windows32 tool set.
>  * Do NOT define BATCH_MODE_ONLY_SHELL if you define HAVE_CYGWIN_SHELL
>  */
> /*#define HAVE_CYGWIN_SHELL 1 */

That doesn't tell Make it will be invoking Cygwin programs.  It just
activates some code that makes interaction with Cygwin easier.  It
doesn't mean every program invoked by Make will be a Cygwin program.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]