aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2011-11-12 14:11:54 +0200
committerEli Zaretskii2011-11-12 14:11:54 +0200
commit7ef3cbd547a64ed25d355258382ca96e5316efb8 (patch)
tree9511ee5e942967f2047c25c9e12c7c1ad4812796 /src
parent7a7270ddb6e2a0b5f8c7404277a46272d80a8100 (diff)
downloademacs-7ef3cbd547a64ed25d355258382ca96e5316efb8.tar.gz
emacs-7ef3cbd547a64ed25d355258382ca96e5316efb8.zip
Allow building temacs with a larger heap on MS-Windows.
src/makefile.w32-in (HEAPSIZE): New variable, allows to build temacs with user-defined heap size. Bump the default size of the temacs heap to 27MB, to avoid memory warning when running temacs. ($(TEMACS)): Use HEAPSIZE instead of a hardcoded value.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/makefile.w32-in5
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 286896be6e3..f4250ec83b0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,10 @@
12011-11-12 Eli Zaretskii <eliz@gnu.org> 12011-11-12 Eli Zaretskii <eliz@gnu.org>
2 2
3 * makefile.w32-in (HEAPSIZE): New variable, allows to build temacs
4 with user-defined heap size. Bump the default size of the temacs
5 heap to 27MB, to avoid memory warning when running temacs.
6 ($(TEMACS)): Use HEAPSIZE instead of a hardcoded value.
7
3 * dispnew.c (scrolling_window): Fix incorrect indices in accessing 8 * dispnew.c (scrolling_window): Fix incorrect indices in accessing
4 current_matrix and desired_matrix. (Bug#9990) 9 current_matrix and desired_matrix. (Bug#9990)
5 (verify_row_hash) [XASSERTS]: New function. 10 (verify_row_hash) [XASSERTS]: New function.
diff --git a/src/makefile.w32-in b/src/makefile.w32-in
index e97f7f3aca4..36e4511d845 100644
--- a/src/makefile.w32-in
+++ b/src/makefile.w32-in
@@ -24,6 +24,9 @@ ALL = emacs
24# Set EMACSLOADPATH correctly (in case already defined in environment). 24# Set EMACSLOADPATH correctly (in case already defined in environment).
25EMACSLOADPATH=$(CURDIR)/../lisp 25EMACSLOADPATH=$(CURDIR)/../lisp
26 26
27# Size in MBs of the static heap in temacs.exe.
28HEAPSIZE = 27
29
27# 30#
28# HAVE_CONFIG_H is required by some generic gnu sources stuck into 31# HAVE_CONFIG_H is required by some generic gnu sources stuck into
29# the emacs source tree. 32# the emacs source tree.
@@ -177,7 +180,7 @@ temacs: stamp_BLD $(TEMACS)
177$(TEMACS): $(TLIB0) $(TLIB1) $(TLIB2) $(TLASTLIB) $(TOBJ) $(TRES) \ 180$(TEMACS): $(TLIB0) $(TLIB1) $(TLIB2) $(TLASTLIB) $(TOBJ) $(TRES) \
178 ../nt/$(BLD)/addsection.exe $(GNULIB) 181 ../nt/$(BLD)/addsection.exe $(GNULIB)
179 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS) 182 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
180 "$(THISDIR)/../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 21 183 "$(THISDIR)/../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP $(HEAPSIZE)
181 184
182# These omit firstfile.${O}, but there's no documentation in there 185# These omit firstfile.${O}, but there's no documentation in there
183# anyways. 186# anyways.