Mercurial > emacs
diff nt/INSTALL @ 90261:7beb78bc1f8e
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-97
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 616-696)
- Add lisp/mh-e/.arch-inventory
- Update from CVS
- Merge from gnus--rel--5.10
- Update from CVS: lisp/smerge-mode.el: Add 'tools' to file keywords.
- lisp/gnus/ChangeLog: Remove duplicate entry
* gnus--rel--5.10 (patch 147-181)
- Update from CVS
- Merge from emacs--cvs-trunk--0
- Update from CVS: lisp/mml.el (mml-preview): Doc fix.
- Update from CVS: texi/message.texi: Fix default values.
- Update from CVS: texi/gnus.texi (RSS): Addition.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 16 Jan 2006 08:37:27 +0000 |
parents | 2d92f5c9d6ae dc47c26ee643 |
children | c5406394f567 |
line wrap: on
line diff
--- a/nt/INSTALL Mon Jan 16 06:59:21 2006 +0000 +++ b/nt/INSTALL Mon Jan 16 08:37:27 2006 +0000 @@ -29,11 +29,55 @@ To compile Emacs, you will need either Microsoft Visual C++ 2.0 or later and nmake, or a Windows port of GCC 2.95 or later with MinGW - and W32 API support and a port of GNU make. You can use the Cygwin + and W32 API support and a port of GNU Make. You can use the Cygwin ports of GCC, but Emacs requires the MinGW headers and libraries to build (latest versions of the Cygwin toolkit, at least since v1.3.3, include the MinGW headers and libraries as an integral part). + If you use the MinGW port of GCC and GNU Make to build Emacs, there + are some compatibility issues wrt Make and the shell that is run by + Make, either the standard COMMAND.COM/CMD.EXE supplied with Windows + or sh.exe., a port of a Unixy shell. For reference, here is a list + of which builds of GNU Make are known to work or not, and whether + they work in the presence and/or absence of sh.exe, the Cygwin port + of Bash. Note that any version of Make that is compiled with Cygwin + will only work with Cygwin tools, due to the use of cygwin style + paths. This means Cygwin Make is unsuitable for building parts of + Emacs that need to invoke Emacs itself (leim and "make bootstrap", + for example). Also see the Trouble-shooting section below if you + decide to go ahead and use Cygwin make. + + In addition, using 4NT as your shell is known to fail the build process, + at least for 4NT version 3.01. Use CMD.EXE, the default Windows shell, + instead. MSYS sh.exe also appears to cause various problems. If you have + MSYS installed, try "make SHELL=cmd.exe" to force the use of cmd.exe + instead of sh.exe. + + sh exists no sh + + cygwin b20.1 make (3.75): fails[1, 5] fails[2, 5] + MSVC compiled gmake 3.77: okay okay + MSVC compiled gmake 3.78.1: okay okay + MSVC compiled gmake 3.79.1: okay okay + mingw32/gcc-2.92.2 make (3.77): okay okay[4] + cygwin compiled gmake 3.77: fails[1, 5] fails[2, 5] + cygwin compiled make 3.78.1: fails[5] fails[2, 5] + cygwin compiled make 3.79.1: fails[3, 5] fails[2?, 5] + mingw32 compiled make 3.79.1: okay okay + mingw32 compiled make 3.80: okay unknown[6] + + Notes: + + [1] doesn't cope with makefiles with DOS line endings, so must mount + emacs source with text!=binary. + [2] fails when needs to invoke shell commands; okay invoking gcc etc. + [3] requires LC_MESSAGES support to build; cannot build with early + versions of cygwin. + [4] may fail on Windows 9X and Windows ME; if so, install Bash. + [5] fails when building leim due to the use of cygwin style paths. + May work if building emacs without leim. + [6] please report if you try this combination. + Other compilers may work, but specific reports from people that have tried suggest that the Intel C compiler (for example) may produce an Emacs executable with strange filename completion behaviour. Unless @@ -62,46 +106,6 @@ http://ourcomments.org/Emacs/w32-build-emacs.html - For reference, here is a list of which builds of GNU make are known - to work or not, and whether they work in the presence and/or absence - of sh.exe, the Cygwin port of Bash. Note that any version of make - that is compiled with Cygwin will only work with Cygwin tools, due to - the use of cygwin style paths. This means Cygwin make is unsuitable - for building parts of Emacs that need to invoke Emacs itself (leim and - "make bootstrap", for example). Also see the Trouble-shooting section - below if you decide to go ahead and use Cygwin make. - - In addition, using 4NT as your shell is known to fail the build process, - at least for 4NT version 3.01. Use cmd.exe, the default NT shell, - instead. MSYS sh.exe also appears to cause various problems. If you have - MSYS installed, try "make SHELL=cmd.exe" to force the use of cmd.exe - instead of sh.exe. - - sh exists no sh - - cygwin b20.1 make (3.75): fails[1, 5] fails[2, 5] - MSVC compiled gmake 3.77: okay okay - MSVC compiled gmake 3.78.1: okay okay - MSVC compiled gmake 3.79.1: okay okay - mingw32/gcc-2.92.2 make (3.77): okay okay[4] - cygwin compiled gmake 3.77: fails[1, 5] fails[2, 5] - cygwin compiled make 3.78.1: fails[5] fails[2, 5] - cygwin compiled make 3.79.1: fails[3, 5] fails[2?, 5] - mingw32 compiled make 3.79.1: okay okay - mingw32 compiled make 3.80: okay unknown[6] - - Notes: - - [1] doesn't cope with makefiles with DOS line endings, so must mount - emacs source with text!=binary. - [2] fails when needs to invoke shell commands; okay invoking gcc etc. - [3] requires LC_MESSAGES support to build; cannot build with early - versions of cygwin. - [4] may fail on Windows 9X and Windows ME; if so, install Bash. - [5] fails when building leim due to the use of cygwin style paths. - May work if building emacs without leim. - [6] please report if you try this combination. - * Configuring Configuration of Emacs is now handled by running configure.bat in the @@ -239,7 +243,19 @@ You should be able to debug Emacs using the debugger that is appropriate for the compiler you used, namely DevStudio or Windbg if - compiled with MSVC, or gdb if compiled with gcc. + compiled with MSVC, or GDB if compiled with GCC. + + When Emacs aborts due to a fatal internal error, Emacs on Windows + pops up an Emacs Abort Dialog asking you whether you want to debug + Emacs or terminate it. If Emacs was built with MSVC, click YES + twice, and Windbg or the DevStudio debugger will start up + automatically. If Emacs was built with GCC, first start GDB and + attach it to the Emacs process with the "gdb -p EMACS-PID" command, + where EMACS-PID is the Emacs process ID (which you can see in the + Windows Task Manager), type the "continue" command inside GDB, and + only then click YES on the abort dialog. This will pass control to + the debugger, and you will be able to debug the cause of the fatal + error. Emacs functions implemented in C use a naming convention that reflects their names in lisp. The names of the C routines are the lisp names @@ -250,17 +266,18 @@ easily set breakpoints or examine familiar lisp variables by name. Since Emacs data is often in the form of a lisp object, and the - Lisp_Object type is difficult to examine manually in the MSVC - debugger, Emacs provides a helper routine called debug_print that - prints out a readable representation of a Lisp_Object. (If you are - using gdb, there is a .gdbinit file in the src directory which - provides definitions that are useful for examining lisp objects. The - following tips are mainly of interest when using MSVC.) The output - from debug_print is sent to stderr, and to the debugger via the - OutputDebugString routine. The output sent to stderr should be - displayed in the console window that was opened when the emacs.exe - executable was started. The output sent to the debugger should be - displayed in its "Debug" output window. + Lisp_Object type is difficult to examine manually in a debugger, + Emacs provides a helper routine called debug_print that prints out a + readable representation of a Lisp_Object. If you are using GDB, + there is a .gdbinit file in the src directory which provides + definitions that are useful for examining lisp objects. Therefore, + the following tips are mainly of interest when using MSVC. + + The output from debug_print is sent to stderr, and to the debugger + via the OutputDebugString routine. The output sent to stderr should + be displayed in the console window that was opened when the + emacs.exe executable was started. The output sent to the debugger + should be displayed in its "Debug" output window. When you are in the process of debugging Emacs and you would like to examine the contents of a Lisp_Object variable, popup the QuickWatch