On Fri, Mar 18, 2011 at 11:09 AM, Eli Zaretskii
<address@hidden> wrote:
> Date: Fri, 18 Mar 2011 09:42:05 -0400
> 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.