comparison msdos/INSTALL @ 107197:8b83e8b68526

INSTALL: Remove a CVS-specific note. Update for latest versions of Windows.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 19 Feb 2010 15:26:50 +0200
parents 1d1d5d9bd884
children 376148b31b5e
comparison
equal deleted inserted replaced
107196:19bad34b0d81 107197:8b83e8b68526
3 Copyright (C) 1992, 1994, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 3 Copyright (C) 1992, 1994, 1996, 1997, 2000, 2001, 2002, 2003, 2004,
4 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 4 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
5 See the end of the file for license conditions. 5 See the end of the file for license conditions.
6 6
7 The DJGPP port of GNU Emacs builds and runs on plain DOS and also on 7 The DJGPP port of GNU Emacs builds and runs on plain DOS and also on
8 all versions of MS-Windows from version 3.X on, including Windows XP 8 all versions of MS-Windows from version 3.X on, including Windows XP,
9 and Vista. 9 Vista, and Windows 7 (however, see below for issues with Windows Vista
10 and 7).
10 11
11 To build and install the DJGPP port, you need to have the DJGPP ports 12 To build and install the DJGPP port, you need to have the DJGPP ports
12 of GCC (the GNU C compiler), GNU Make, rm, mv, and sed. See the 13 of GCC (the GNU C compiler), GNU Make, rm, mv, and sed. See the
13 remarks in CONFIG.BAT for more information about locations and 14 remarks in CONFIG.BAT for more information about locations and
14 versions. The Emacs FAQ (see info/efaq) includes pointers to Internet 15 versions. The Emacs FAQ (see info/efaq) includes pointers to Internet
17 will refuse to continue if any of them isn't found. 18 will refuse to continue if any of them isn't found.
18 19
19 Bootstrapping Emacs or recompiling Lisp files in the `lisp' 20 Bootstrapping Emacs or recompiling Lisp files in the `lisp'
20 subdirectory using the various targets in the lisp/Makefile file 21 subdirectory using the various targets in the lisp/Makefile file
21 requires additional utilities: `find' (from Findutils), GNU `echo' and 22 requires additional utilities: `find' (from Findutils), GNU `echo' and
22 `test' (from Sh-utils), `ls' and `chmod' (from Fileutils), `grep' 23 `test' (from Sh-utils or Coreutils), `ls' and `chmod' (from Fileutils
23 (from Grep), and a port of Bash. However, you should not normally 24 or Coreutils), `grep' (from Grep), and a port of Bash. However, you
24 need to run lisp/Makefile, as all the Lisp files are distributed in 25 should not normally need to run lisp/Makefile, as all the Lisp files
25 byte-compiled form as well. As for bootstrapping, you will only need 26 are distributed in byte-compiled form as well. As for bootstrapping
26 that if you check-out development sources from the Emacs source 27 itself, you will only need that if you check-out development sources
27 repository. (Note: If you are checking out of CVS, use the -kb option 28 from the Emacs source repository.
28 of the `checkout' and `update' commands, to preserve the original
29 Unix-style EOL format of the files. If some files are converted to
30 DOS EOL format by the default operation of CVS, the build might fail.)
31 29
32 If you are building the DJGPP version of Emacs on a DOS-like system 30 If you are building the DJGPP version of Emacs on a DOS-like system
33 which supports long file names (e.g. Windows 9X or Windows XP), you 31 which supports long file names (e.g. Windows 9X or Windows XP), you
34 need to make sure that long file names are handled consistently both 32 need to make sure that long file names are handled consistently both
35 when you unpack the distribution and compile it. If you intend to 33 when you unpack the distribution and compile it. With DJGPP v2.0 or
36 compile with DJGPP v2.0 or later, and long file names support is 34 later, long file names support is by default, so you need to unpack
37 enabled (LFN=y in the environment), you need to unpack Emacs 35 Emacs distribution in a way that doesn't truncate the original long
38 distribution in a way that doesn't truncate the original long
39 filenames to the DOS 8.3 namespace; the easiest way to do this is to 36 filenames to the DOS 8.3 namespace; the easiest way to do this is to
40 use djtar program which comes with DJGPP, since it will note the LFN 37 use djtar program which comes with DJGPP, since it will behave
41 setting and behave accordingly. You can build Emacs with LFN=n, if 38 consistently with the rest of DJGPP tools. Alternatively, you can
42 some of your tools don't support long file names: just ensure that LFN 39 build Emacs with LFN=n, if some of your tools don't support long file
43 is set to `n' during both unpacking and compiling. 40 names: just ensure that LFN is set to `n' during both unpacking and
41 compiling.
44 42
45 (By the time you read this, you have already unpacked the Emacs 43 (By the time you read this, you have already unpacked the Emacs
46 distribution, but if the explanations above imply that you should have 44 distribution, but if the explanations above imply that you should have
47 done it differently, it's safer to delete the directory tree created 45 done it differently, it's safer to delete the directory tree created
48 by the unpacking program and unpack Emacs again, than to risk running 46 by the unpacking program and unpack Emacs again, than to risk running
98 the name ECHO.EXE, so you can simply copy ECHO.EXE to DJECHO.EXE and 96 the name ECHO.EXE, so you can simply copy ECHO.EXE to DJECHO.EXE and
99 rerun CONFIG.BAT. If you have neither ECHO.EXE nor DJECHO.EXE, you 97 rerun CONFIG.BAT. If you have neither ECHO.EXE nor DJECHO.EXE, you
100 should be able to find them in your djdevNNN.zip archive (where NNN is 98 should be able to find them in your djdevNNN.zip archive (where NNN is
101 the DJGPP version number). 99 the DJGPP version number).
102 100
103 On Windows NT, Windows 2000/XP/Vista, running "config msdos" might 101 On Windows NT and Windows 2000/XP/Vista/7, running "config msdos"
104 print an error message like "VDM has been already loaded". This is 102 might print an error message like "VDM has been already loaded". This
105 because those systems have a program called `redir.exe' which is 103 is because those systems have a program called `redir.exe' which is
106 incompatible with a program by the same name supplied with DJGPP, 104 incompatible with a program by the same name supplied with DJGPP,
107 which is used by config.bat. To resolve this, move the DJGPP's `bin' 105 which is used by config.bat. To resolve this, move the DJGPP's `bin'
108 subdirectory to the front of your PATH environment variable. 106 subdirectory to the front of your PATH environment variable.
109 107
110 Windows Vista has several bugs in its DPMI server related to memory 108 Windows Vista/7 has several bugs in its DPMI server related to memory
111 allocation: it fails DPMI resize memory block function, and it 109 allocation: it fails DPMI resize memory block function, and it
112 arbitrarily limits the default amount of DPMI memory to 32MB. To work 110 arbitrarily limits the default amount of DPMI memory to 32MB. To work
113 around these bugs, first configure Emacs to use the `malloc' function 111 around these bugs, first configure Emacs to use the `malloc' function
114 from the DJGPP library. To this end, run CONFIG.BAT with the 112 from the DJGPP library. To this end, run CONFIG.BAT with the
115 "--with-system-malloc" option: 113 "--with-system-malloc" option:
116 114
117 config --with-system-malloc msdos 115 config --with-system-malloc msdos
118 make install 116 make install
119 117
120 In addition, you'll need to install Service Pack 1 (SP1) or later to 118 In addition, for Windows Vista you'll need to install Service Pack 1
121 Windows Vista and enlarge its DPMI memory limit by setting the value 119 (SP1) or later and enlarge its DPMI memory limit by setting the value
122 of this Registry key: 120 of this Registry key:
123 121
124 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Wow\DpmiLimit 122 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Wow\DpmiLimit
125 123
126 Create this key if it does not exist. The value is a DWORD; setting 124 Create this key if it does not exist. The value is a DWORD; setting
162 EMACSLOADPATH (for the location of `lisp' directory) and INFOPATH (for 160 EMACSLOADPATH (for the location of `lisp' directory) and INFOPATH (for
163 the location of the `info' directory). 161 the location of the `info' directory).
164 162
165 Emacs features which require asynchronous subprocesses that depend on 163 Emacs features which require asynchronous subprocesses that depend on
166 multitasking do not work in the DJGPP port. Synchronous subprocesses 164 multitasking do not work in the DJGPP port. Synchronous subprocesses
167 do work, so features such as compilation and grep run synchronously, 165 do work, so features such as compilation, grep, and Ispell run
168 unlike opn other platforms. 166 synchronously, unlike on other platforms.
169 167
170 Version 2.0 of djgpp has two bugs that affect Emacs. We've included 168 Version 2.0 of djgpp has two bugs that affect Emacs. We've included
171 corrected versions of two files from djgpp in the msdos subdirectory: 169 corrected versions of two files from djgpp in the msdos subdirectory:
172 is_exec.c and sigaction.c. To work around the bugs, compile these 170 is_exec.c and sigaction.c. To work around the bugs, compile these
173 files and link them into temacs. Djgpp versions 2.01 and later have 171 files and link them into temacs. Djgpp versions 2.01 and later have