1 Precompiled Distributions of
8 This directory contains source and precompiled distributions for GNU
9 Emacs on Windows NT/2000/XP and Windows 95/98/Me. This port is a part
10 of the standard GNU Emacs distribution from the Free Software
11 Foundation; the precompiled distributions are provided here for
12 convenience since, unlike Unix, the majority of Windows users do not
13 have access to a compiler (and, besides, do you really want to compile
14 Emacs when you don't have to?).
16 If you have access to the World Wide Web, I would recommend pointing
17 your favorite web browser to the following document (if you haven't
20 http://www.gnu.org/software/emacs/windows/ntemacs.html
22 The above web document is a far more complete version of this README
23 file. If you don't have access to the Web, however, then read on.
26 * IMPORTANT LEGAL REMINDER
28 If you want to redistribute any of the precompiled distributions of
29 Emacs, be careful to check the implications of the GPL. For instance,
30 if you put the emacs-21.3-bin-i386.tar.gz file from this directory on
31 an Internet site, you must arrange to distribute the source files of
32 the SAME version (i.e. emacs-21.3-src.tar.gz).
34 Making a link to our copy of the source is NOT sufficient, since we
35 might upgrade to a new version while you are still distributing the
39 * Distributions in .tar.gz format
41 Emacs is distributed primarily as a set of large gzipped tar files
42 (*.tar.gz). Because Emacs is quite large and therefore difficult to
43 download over unreliable connections, it is provided in several
44 combinations, ranging from the complete source plus executables, to
45 just the minimal amount needed to run without any source, plus a
46 couple of optional packages. Here are the combinations (i386 in the
47 name indicates a tarball contains executables compiled for
48 Intel-compatible x86 systems):
50 + Primary precompiled distribution, including lisp source:
52 emacs-21.3-fullbin-i386.tar.gz
54 + Minimal precompiled distribution, which excludes lisp source:
56 emacs-21.3-bin-i386.tar.gz
58 You can download emacs-21.3-lisp.tar.gz to get the lisp source, if
59 you later decide you want it - it is useful for understanding how
60 packages work, and how they can best be setup or customized.
63 NB. If you just want to run Emacs, get one of the distributions above.
66 + Bare executables, only useful if you want to get the complete source
67 release below, but can't compile Emacs yourself:
69 emacs-21.3-barebin-i386.tar.gz (requires emacs-21.3-src.tar.gz)
71 + Undumped executable, only needed for rebuilding Emacs after changing
72 certain core lisp files:
74 emacs-21.3-undumped-i386.tar.gz
76 + Optional package providing the Library of Emacs Input Methods for
77 typing non-ascii characters, notably Chinese, Japanese and Korean,
78 but also including European and other character sets:
80 emacs-21.3-leim.tar.gz
82 + The complete official source for Emacs:
86 + The complete official source for LEIM:
91 * Distributions for non-x86 platforms
93 Distributions for non-x86 platforms are no longer supplied. Older
94 platforms supported by Windows NT no longer seem to be in demand,
95 and Emacs is yet to be ported to 64bit Windows platforms. If you are
96 willing to help port Emacs to 64bit versions of Windows, your
97 contribution will be welcome on the emacs-devel mailing list.
99 * Unpacking distributions
101 Ports of GNU gzip and GNU tar for handling the distribution file
102 formats can be found in several places that distribute ports of GNU
103 programs, for example:
105 Cygwin: http://www.cygwin.com/
106 GnuWin32: http://gnuwin32.sourceforge.net/
108 Many other popular file compression utilities for Windows are also
109 able to handle gzipped tar files.
111 Open a command prompt (MSDOS) window. Decide on a directory in which
112 to place Emacs. Move the distribution to that directory, and then
113 unpack it as follows.
115 If you have the gzipped tar version, use gunzip to uncompress the tar
116 file on the fly, and pipe the output through tar with the "xvf" flags
117 to extract the files from the tar file:
119 % gunzip -c some.tar.gz | tar xvf -
121 You may see messages from tar about not being able to change the
122 modification time on directories, and from gunzip complaining about a
123 broken pipe. These messages are harmless and you can ignore them. On
124 Windows NT, unpacking tarballs this way leaves them in compressed
125 form, taking up less space on disk. Unfortunately, on Windows 95 and
126 98, a large temporary file is created, so it is better to use the
127 djtarnt.exe program, which performs the equivalent operation in one
130 % djtarnt -x some.tar.gz
132 You may be prompted to rename or overwrite directories when using
133 djtarnt: simply type return to continue (this is harmless).
135 Once you have unpacked a precompiled distribution of Emacs, it should
136 have the following subdirectories:
138 bin etc info lisp site-lisp
141 * Unpacking with other tools
143 If you do use other utility programs to unpack the distribution, check
144 the following to be sure the distribution was not corrupted:
146 + Be sure to disable the CR/LF translation or the executables will be
147 unusable. Older versions of WinZip would enable this translation
148 by default. If you are using WinZip, disable it. (I don't have
149 WinZip myself, and I do not know the specific commands necessary
152 + Check that filenames were not truncated to 8.3. For example, there
153 should be a file lisp/abbrevlist.el; if this has been truncated to
154 abbrevli.el, your distribution has been corrupted while unpacking
155 and Emacs will not start.
157 + I've also had reports that some older "gnuwin32" port of tar
158 corrupts the executables. Use the latest version from the gnuwin32
159 site or another port of tar instead.
161 If you believe you have unpacked the distributions correctly and are
162 still encountering problems, see the section on Further Information
166 * Compiling from source
168 If you would like to compile Emacs from source, download the source
169 distribution, unpack it in the same manner as a precompiled
170 distribution, and look in the file nt/INSTALL for detailed
171 directions. You can either use the Microsoft compiler included with
172 Visual C++ 2003 or earlier, or GCC 2.95 or later with MinGW support,
173 to compile the source. The port of GCC included in Cygwin is
174 supported, but check the nt/INSTALL file if you have trouble since
175 some builds of GNU make aren't supported.
178 * Further information
180 If you have access to the World Wide Web, I would recommend pointing
181 your favorite web browser to following the document (if you haven't
184 http://www.gnu.org/software/emacs/windows/ntemacs.html
186 This document serves as an FAQ and a source for further information
187 about the Windows port and related software packages.
189 In addition to the FAQ, there is a mailing list for discussing issues
190 related to the Windows port of Emacs. For information about the
191 list, see this Web page:
193 http://lists.gnu.org/mailman/listinfo/help-emacs-windows
195 To ask questions on the mailing list, send email to
196 help-emacs-windows@gnu.org. (You don't need to subscribe for that.)
197 To subscribe to the list or unsubscribe from it, fill the form you
198 find at http://mail.gnu.org/mailman/listinfo/help-emacs-windows as
201 Another valuable source of information and help which should not be
202 overlooked is the various Usenet news groups dedicated to Emacs.
203 These are particuarly good for help with general issues which aren't
204 specific to the Windows port of Emacs. The main news groups to use
205 for seeking help are:
210 There are also fairly regular postings and announcements of new or
211 updated Emacs packages on this group:
220 Most of this README was contributed by former maintainer Andrew Innes