Building and Installing Emacs on MS-Windows
using the MSYS and MinGW tools
- Copyright (C) 2013-2015 Free Software Foundation, Inc.
+ Copyright (C) 2013-2016 Free Software Foundation, Inc.
See the end of the file for license conditions.
The MSYS/MinGW build described here is supported on versions of
Do not use this recipe with Cygwin. For building on Cygwin, use the
normal installation instructions, ../INSTALL.
+ For building Emacs using the MinGW64/MSYS2 toolchain, see the
+ instructions in the file INSTALL.W64 in this directory.
+
* For the brave (a.k.a. "impatient"):
For those who have a working MSYS/MinGW development environment and
command "mingw-get remove msys-texinfo", or mark "msys-texinfo" for
removal in the mingw-get GUI, then select Installation->Apply Changes.)
+ (Similarly, we recommend to refrain from installing the MinGW
+ Automake and Autoconf packages; instead, install their MSYS builds
+ available from the ezwinports site, see below.)
+
At this point, you should be ready to configure and build Emacs in
its basic configuration. Skip to the "Generating the configure
script" section for the build instructions. If you want to build it
ok
Your system has the required tools, running autoreconf...
Installing git hooks...
- You can now run `./configure'.
+ You can now run './configure'.
If the script fails because it cannot find Git, you will need to
arrange for the MSYS Bash's PATH to include the Git's 'bin'
- sibdirectory, where there's the git.exe executable.
+ subdirectory, where there's the git.exe executable.
* Configuring Emacs for MinGW:
successful, will eventually produce a summary of the configuration
similar to this:
- Configured for `i686-pc-mingw32'.
+ Configured for 'i686-pc-mingw32'.
Where should the build process find the source code? /path/to/emacs/sources
What compiler should emacs be built with? gcc -std=gnu99 -O0 -g3