Subject: Re: bug#10665: 24.0.93; Building for MS Windows using MinGW encounters a build problem in ../emacs-24.0.93/src/makefile
From: Eli Zaretskii <[email-masked]>
To: "Gallagher, Kevin" <[email-masked]>
Cc: [email-masked]
Date: Mon, 30 Jan 2012 20:55:51 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: "Gallagher, Kevin" <[email-masked]>
> Date: Mon, 30 Jan 2012 12:35:02 -0600
> 
> The problem is in the generated ../emacs-24.0.93/src/makefile, which
> has the following target and associated rule:
> 
> globals.h: gl-stamp
>       @cmd /c rem true
> 
> In an MinGW/MSYS bash shell, this rule invokes the MS Windows cmd.exe
> command interpreter, which issues a prompt and then does not exit, thereby
> halting the build.  The output from make looks like this, at this point:
> 
> echo timestamp > gl-stamp
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> 
> c:\emacs-24.0.93\src>

This is a known issue with the MSYS Bash.  That shell is not supported
by the Windows build of Emacs, for this very reason, see nt/INSTALL.

Just remove MSYS from your PATH, and you should be able to build EMacs
just fine.  You don't need a Unixy shell.

I'm closing this bug report.

Thanks for reporting and digging into this.