Loading

编译Emacs for Windows

2019-07-19修订:新增Emacs-26.2版编译方法

 

1. 使用mingw-get-inst-20120426.exe安装编译工具MinGW,下载:http://sourceforge.net/projects/mingw/files/MinGW/

2. 下载Emacs源码,解压,到这里选择你想要的版本:http://ftp.gnu.org/gnu/emacs/

编译Emacs 26.2

从MinGW安装目录启动C:\MinGW\msys\1.0\msys.bat

$ cd /d/emacs-26.2/
$ ./configure --prefix=/d/emacs-26.2 --without-imagemagick --without-dbus --with-gnutls=no
make -j4
make install prefix=/c/somewhere

 

编译Emacs 24.2

启动cmd,设置PATH

set PATH=D:\MinGW\bin;D:\MinGW\include;D:\MinGW\lib;D:\MinGW\MSYS\1.0\bin;%PATH%
cd your-path-of-emacs\nt
configure.bat
mingw32-make bootstrap
mingw32-make info
mingw32-make install INSTALL_DIR=where-you-want-to-install

 

 

 

 

  

 

posted @ 2013-02-11 22:41  gamesun  阅读(922)  评论(0编辑  收藏  举报