comparison nt/INSTALL @ 90195:a1b34dec1104

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-63 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 358-423) - Update from CVS - Remove "-face" suffix from widget faces - Remove "-face" suffix from custom faces - Remove "-face" suffix from change-log faces - Remove "-face" suffix from compilation faces - Remove "-face" suffix from diff-mode faces - lisp/longlines.el (longlines-visible-face): Face removed - Remove "-face" suffix from woman faces - Remove "-face" suffix from whitespace-highlight face - Remove "-face" suffix from ruler-mode faces - Remove "-face" suffix from show-paren faces - Remove "-face" suffix from log-view faces - Remove "-face" suffix from smerge faces - Remove "-face" suffix from show-tabs faces - Remove "-face" suffix from highlight-changes faces - Remove "-face" suffix from and downcase info faces - Remove "-face" suffix from pcvs faces - Update uses of renamed pcvs faces - Tweak ChangeLog - Remove "-face" suffix from strokes-char face - Remove "-face" suffix from compare-windows face - Remove "-face" suffix from calendar faces - Remove "-face" suffix from diary-button face - Remove "-face" suffix from testcover faces - Remove "-face" suffix from viper faces - Remove "-face" suffix from org faces - Remove "-face" suffix from sgml-namespace face - Remove "-face" suffix from table-cell face - Remove "-face" suffix from tex-mode faces - Remove "-face" suffix from texinfo-heading face - Remove "-face" suffix from flyspell faces - Remove "-face" suffix from gomoku faces - Remove "-face" suffix from mpuz faces - Merge from gnus--rel--5.10 - Remove "-face" suffix from Buffer-menu-buffer face - Remove "-face" suffix from antlr-mode faces - Remove "-face" suffix from ebrowse faces - Remove "-face" suffix from flymake faces - Remove "-face" suffix from idlwave faces - Remove "-face" suffix from sh-script faces - Remove "-face" suffix from vhdl-mode faces - Remove "-face" suffix from which-func face - Remove "-face" suffix from cperl-mode faces - Remove "-face" suffix from ld-script faces - Fix cperl-mode font-lock problem - Tweak which-func face * gnus--rel--5.10 (patch 80-82) - Merge from emacs--cvs-trunk--0 - Update from CVS
author Miles Bader <miles@gnu.org>
date Wed, 15 Jun 2005 23:32:15 +0000
parents 5b029ff3b08d 382121c868f8
children b7da78284d4c
comparison
equal deleted inserted replaced
90194:d940db5a66b9 90195:a1b34dec1104
13 13
14 If you are building out of CVS, then some files in this directory 14 If you are building out of CVS, then some files in this directory
15 (.bat files, nmake.defs and makefile.w32-in) may need the line-ends 15 (.bat files, nmake.defs and makefile.w32-in) may need the line-ends
16 fixing first. The easiest way to do this and avoid future conflicts 16 fixing first. The easiest way to do this and avoid future conflicts
17 is to run the following command in this (emacs/nt) directory: 17 is to run the following command in this (emacs/nt) directory:
18
18 cvs update -kb 19 cvs update -kb
20
21 (WARNING: Do NOT use this suggestion if you have write access to the
22 Emacs CVS tree and intend to commit changes to CVS. This is because -kb
23 is sticky: it will be used in all future CVS operations on the files you
24 check out like this.) Alternatively, use programs that convert
25 end-of-line format, such as dos2unix and unix2dos available from
26 GnuWin32 or dtou and utod from the DJGPP project.
27
19 In addition to this file, you should also read INSTALL.CVS in the 28 In addition to this file, you should also read INSTALL.CVS in the
20 parent directory, and make sure that you have a version of "touch.exe" 29 parent directory, and make sure that you have a version of
21 in your path, and that it will create files that do not yet exist. 30 "touch.exe" in your path, and that it will create files that do not
31 yet exist.
22 32
23 To compile Emacs, you will need either Microsoft Visual C++ 2.0 or 33 To compile Emacs, you will need either Microsoft Visual C++ 2.0 or
24 later and nmake, or a Windows port of GCC 2.95 or later with MinGW 34 later and nmake, or a Windows port of GCC 2.95 or later with MinGW
25 and W32 API support and a port of GNU make. You can use the Cygwin 35 and W32 API support and a port of GNU make. You can use the Cygwin
26 ports of GCC, but Emacs requires the MinGW headers and libraries to 36 ports of GCC, but Emacs requires the MinGW headers and libraries to
48 58
49 Additional instructions and help for building Emacs on Windows can be 59 Additional instructions and help for building Emacs on Windows can be
50 found at the Emacs Wiki: 60 found at the Emacs Wiki:
51 61
52 http://www.emacswiki.org/cgi-bin/wiki/WThirtyTwoInstallationKit 62 http://www.emacswiki.org/cgi-bin/wiki/WThirtyTwoInstallationKit
63
64 and at this URL:
65
66 http://ourcomments.org/Emacs/EmacsW32.html
53 67
54 For reference, here is a list of which builds of GNU make are known 68 For reference, here is a list of which builds of GNU make are known
55 to work or not, and whether they work in the presence and/or absence 69 to work or not, and whether they work in the presence and/or absence
56 of sh.exe, the Cygwin port of Bash. Note that any version of make 70 of sh.exe, the Cygwin port of Bash. Note that any version of make
57 that is compiled with Cygwin will only work with Cygwin tools, due to 71 that is compiled with Cygwin will only work with Cygwin tools, due to
75 mingw32/gcc-2.92.2 make (3.77): okay okay[4] 89 mingw32/gcc-2.92.2 make (3.77): okay okay[4]
76 cygwin compiled gmake 3.77: fails[1, 5] fails[2, 5] 90 cygwin compiled gmake 3.77: fails[1, 5] fails[2, 5]
77 cygwin compiled make 3.78.1: fails[5] fails[2, 5] 91 cygwin compiled make 3.78.1: fails[5] fails[2, 5]
78 cygwin compiled make 3.79.1: fails[3, 5] fails[2?, 5] 92 cygwin compiled make 3.79.1: fails[3, 5] fails[2?, 5]
79 mingw32 compiled make 3.79.1: okay okay 93 mingw32 compiled make 3.79.1: okay okay
94 mingw32 compiled make 3.80: okay unknown[6]
80 95
81 Notes: 96 Notes:
82 97
83 [1] doesn't cope with makefiles with DOS line endings, so must mount 98 [1] doesn't cope with makefiles with DOS line endings, so must mount
84 emacs source with text!=binary. 99 emacs source with text!=binary.
86 [3] requires LC_MESSAGES support to build; cannot build with early 101 [3] requires LC_MESSAGES support to build; cannot build with early
87 versions of cygwin. 102 versions of cygwin.
88 [4] may fail on Windows 9X and Windows ME; if so, install Bash. 103 [4] may fail on Windows 9X and Windows ME; if so, install Bash.
89 [5] fails when building leim due to the use of cygwin style paths. 104 [5] fails when building leim due to the use of cygwin style paths.
90 May work if building emacs without leim. 105 May work if building emacs without leim.
106 [6] please report if you try this combination.
91 107
92 * Configuring 108 * Configuring
93 109
94 Configuration of Emacs is now handled by running configure.bat in the 110 Configuration of Emacs is now handled by running configure.bat in the
95 nt subdirectory. It will detect which compiler you have available, 111 nt subdirectory. It will detect which compiler you have available,
102 options. To see what options are available, run `configure --help'. 118 options. To see what options are available, run `configure --help'.
103 119
104 N.B. It is normal to see a few error messages output while configure 120 N.B. It is normal to see a few error messages output while configure
105 is running, when gcc support is being tested. These cannot be 121 is running, when gcc support is being tested. These cannot be
106 surpressed because of limitations in the Windows 9x command.com shell. 122 surpressed because of limitations in the Windows 9x command.com shell.
123
124 You are encouraged to look at the file config.log which shows details
125 for failed tests, after configure.bat finishes. Any unexplained failure
126 should be investigated and perhaps reported as a bug (see the section
127 about reporting bugs in the file README in this directory and in the
128 Emacs manual).
107 129
108 * Optional image library support 130 * Optional image library support
109 131
110 In addition to its "native" image formats (pbm and xbm), Emacs can 132 In addition to its "native" image formats (pbm and xbm), Emacs can
111 handle other image types: xpm, tiff, gif, png and jpeg (postscript is 133 handle other image types: xpm, tiff, gif, png and jpeg (postscript is
112 currently unsupported on Windows). To build Emacs with support for 134 currently unsupported on Windows). To build Emacs with support for
113 them, the corresponding headers must be in the include path when the 135 them, the corresponding headers must be in the include path when the
114 configure script is run. This can be setup using environment 136 configure script is run. This can be setup using environment
115 variables, or by specifying --cflags -I... options on the command-line 137 variables, or by specifying --cflags -I... options on the command-line
116 to configure.bat. The configure script will report whether it was 138 to configure.bat. The configure script will report whether it was
117 able to detect the headers. 139 able to detect the headers. If the results of this testing appear to be
140 incorrect, please look for details in the file config.log: it will show
141 the failed test programs and compiler error messages that should explain
142 what is wrong. (Usually, any such failures happen because some headers
143 are missing due to bad packaging of the image support libraries.)
118 144
119 To use the external image support, the DLLs implementing the 145 To use the external image support, the DLLs implementing the
120 functionality must be found when Emacs first needs them, either on the 146 functionality must be found when Emacs first needs them, either on the
121 PATH, or in the same directory as emacs.exe. Failure to find a 147 PATH, or in the same directory as emacs.exe. Failure to find a
122 library is not an error; the associated image format will simply be 148 library is not an error; the associated image format will simply be
131 is in the PATH or otherwise accesible and that the binaries are 157 is in the PATH or otherwise accesible and that the binaries are
132 compatible (for example, that they were built with the same compiler). 158 compatible (for example, that they were built with the same compiler).
133 159
134 Binaries for the image libraries (among many others) can be found at 160 Binaries for the image libraries (among many others) can be found at
135 the GnuWin32 project. These are built with MinGW, but they can be 161 the GnuWin32 project. These are built with MinGW, but they can be
136 used with both GCC/MinGW and MSVC builds of Emacs. 162 used with both GCC/MinGW and MSVC builds of Emacs. See the info on
163 http://ourcomments.org/Emacs/EmacsW32.html for more details about
164 installing image support libraries.
137 165
138 * Building 166 * Building
139 167
140 After running configure, simply run the appropriate `make' program for 168 After running configure, simply run the appropriate `make' program for
141 your compiler to build Emacs. For MSVC, this is nmake; for GCC, it is 169 your compiler to build Emacs. For MSVC, this is nmake; for GCC, it is
184 some definitions required by addsection.c, for instance. Also, older 212 some definitions required by addsection.c, for instance. Also, older
185 releases of the W32 API headers from Anders Norlander contain a typo 213 releases of the W32 API headers from Anders Norlander contain a typo
186 in the definition of IMAGE_FIRST_SECTION in winnt.h, which 214 in the definition of IMAGE_FIRST_SECTION in winnt.h, which
187 addsection.c relies on. Versions of w32api-xxx.zip from at least 215 addsection.c relies on. Versions of w32api-xxx.zip from at least
188 1999-11-18 onwards are okay. 216 1999-11-18 onwards are okay.
217
218 When in doubt about correctness of what configure did, look at the file
219 config.log, which shows all the failed test programs and compiler
220 messages associated with the failures. If that doesn't give a clue,
221 please report the problems, together with the relevant fragments from
222 config.log, as bugs.
189 223
190 If configure succeeds, but make fails, install the Cygwin port of 224 If configure succeeds, but make fails, install the Cygwin port of
191 Bash, even if the table above indicates that Emacs should be able to 225 Bash, even if the table above indicates that Emacs should be able to
192 build without sh.exe. (Some versions of Windows shells are too dumb 226 build without sh.exe. (Some versions of Windows shells are too dumb
193 for Makefile's used by Emacs.) 227 for Makefile's used by Emacs.)