Added more tips for avoiding pitfalls when building on windows.

This commit is contained in:
Keith Simmons 2018-10-03 13:12:06 -07:00 committed by Boris Buliga
parent 07a7776b6f
commit 314e3470ef
No known key found for this signature in database
GPG Key ID: 027328150F064FA8
1 changed files with 6 additions and 1 deletions

View File

@ -46,6 +46,10 @@ Clone Emacs from [[https://git.savannah.gnu.org/git/emacs.git]]:
git checkout pdumper
#+END_SRC
Note: On windows make sure that autocrlf is disabled in git before cloning or else
the autoconf.sh script will fail later on. This can be done via: =git config --global
core.autocrlf false=
*** Simple patch of Emacs source code
We need to increase the number of =remembered_data= slots in =src/pdumper.c=, we
double the number of slots by replacing 32 with 64:
@ -111,7 +115,8 @@ Run msys2_shell.bat and in the msys2 prompt run:
#+END_SRC
Quit the msys2 shell and run mingw64.exe in the msys64 install directory.
In the mingw prompt run:
In the mingw prompt navigate to the emacs source checkout (=cd /c/= will
get you to the root of the c drive) and run:
#+BEGIN_SRC shell
./autogen.sh