From bd448b7a321e8eaab8c83945fbdb0d37cc9d3edb Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 19 Dec 2008 11:02:42 +0000 Subject: [PATCH] Document the problems on Windows Vista and the --with-system-malloc option to config.bat. --- msdos/ChangeLog | 7 +++++++ msdos/INSTALL | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/msdos/ChangeLog b/msdos/ChangeLog index ec46df7b01..45fbacb169 100644 --- a/msdos/ChangeLog +++ b/msdos/ChangeLog @@ -1,3 +1,10 @@ +2008-12-19 Eli Zaretskii + + * INSTALL: Document the problems on Windows Vista and the + --with-system-malloc option to config.bat. + + * sedalloc.inp: New file. + 2008-11-21 Eli Zaretskii * mainmake.v2 (misc): New target. diff --git a/msdos/INSTALL b/msdos/INSTALL index 4ba59aadaf..e12e556107 100644 --- a/msdos/INSTALL +++ b/msdos/INSTALL @@ -99,6 +99,25 @@ incompatible with a program by the same name supplied with DJGPP, which is used by config.bat. To resolve this, move the DJGPP's `bin' subdirectory to the front of your PATH environment variable. +Windows Vista has several bugs in its DPMI server related to memory +allocation: it fails DPMI resize memory block function, and it +arbitrarily limits the default amount of DPMI memory to 32MB. To work +around these bugs, first configure Emacs to use the `malloc' function +from the DJGPP library. To this end, run CONFIG.BAT with the +"--with-system-malloc" option: + + config --with-system-malloc msdos + make install + +In addition, you'll need to install Service Pack 1 (SP1) or later to +Windows Vista and enlarge its DPMI memory limit by setting the value +of this Registry key: + + HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Wow\DpmiLimit + +Create this key if it does not exist. The value is a DWORD; setting +it to 536870912 should let Emacs use up to 512MB of memory. + To install the international fonts, chdir to the intlfonts-X.Y directory created when you unpacked the intlfonts distribution (X.Y is the version number of the fonts' distribution), and type the following -- 2.20.1