diff options
| author | Juanma Barranquero | 2005-05-24 10:41:15 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-05-24 10:41:15 +0000 |
| commit | bd7bdff8190316a4922a37e4a222b745a168ef33 (patch) | |
| tree | 24fcba1474d23f2a3234616299e6d438c641b550 | |
| parent | f0a31d705523185ab5507ab7d2aee00fb9d46bd4 (diff) | |
| download | emacs-bd7bdff8190316a4922a37e4a222b745a168ef33.tar.gz emacs-bd7bdff8190316a4922a37e4a222b745a168ef33.zip | |
Add more pointers to ports of Unix tools to Windows, and to the Emacs Wiki
(which contains building instructions for Windows). Reword image library
instructions and remove obsolete incompatibility information.
| -rw-r--r-- | nt/ChangeLog | 7 | ||||
| -rw-r--r-- | nt/INSTALL | 44 |
2 files changed, 32 insertions, 19 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index fd4ee0ab190..33507ef581d 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2005-05-24 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * INSTALL: Add more pointers to ports of Unix tools to Windows, | ||
| 4 | and to the Emacs Wiki (which contains building instructions for | ||
| 5 | Windows). Reword image library instructions and remove obsolete | ||
| 6 | incompatibility information. | ||
| 7 | |||
| 1 | 2005-04-23 David Hunter <hunterd42@comcast.net> (tiny change) | 8 | 2005-04-23 David Hunter <hunterd42@comcast.net> (tiny change) |
| 2 | 9 | ||
| 3 | * config.nt (HAVE_PWD_H): Undef. | 10 | * config.nt (HAVE_PWD_H): Undef. |
diff --git a/nt/INSTALL b/nt/INSTALL index a96f182452c..539fb63ac58 100644 --- a/nt/INSTALL +++ b/nt/INSTALL | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | Building and Installing Emacs | 1 | Building and Installing Emacs |
| 2 | on Windows NT/2K/XP and Windows 95/98/ME | 2 | on Windows NT/2K/XP and Windows 95/98/ME |
| 3 | 3 | ||
| 4 | Copyright (c) 2001,2004 Free Software Foundation, Inc. | 4 | Copyright (c) 2001,2004,2005 Free Software Foundation, Inc. |
| 5 | See the end of the file for copying permissions. | 5 | See the end of the file for copying permissions. |
| 6 | 6 | ||
| 7 | If you used WinZip to unpack the distribution, we suggest to | 7 | If you used WinZip to unpack the distribution, we suggest to |
| @@ -21,9 +21,9 @@ | |||
| 21 | in your path, and that it will create files that do not yet exist. | 21 | in your path, and that it will create files that do not yet exist. |
| 22 | 22 | ||
| 23 | To compile Emacs, you will need either Microsoft Visual C++ 2.0 or | 23 | 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 | 24 | 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 | 25 | 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 | 26 | ports of GCC, but Emacs requires the MinGW headers and libraries to |
| 27 | build (latest versions of the Cygwin toolkit, at least since v1.3.3, | 27 | build (latest versions of the Cygwin toolkit, at least since v1.3.3, |
| 28 | include the MinGW headers and libraries as an integral part). | 28 | include the MinGW headers and libraries as an integral part). |
| 29 | 29 | ||
| @@ -34,14 +34,22 @@ | |||
| 34 | like this, we recommend the use of the supported compilers mentioned | 34 | like this, we recommend the use of the supported compilers mentioned |
| 35 | in the previous paragraph. | 35 | in the previous paragraph. |
| 36 | 36 | ||
| 37 | You will also need a copy of the Posix cp, rm and mv programs. These | 37 | You will also need a copy of the Posix cp, rm and mv programs. These |
| 38 | and other useful Posix utilities can be obtained from the Mingw or | 38 | and other useful Posix utilities can be obtained from one of several |
| 39 | Cygwin projects. | 39 | projects: |
| 40 | |||
| 41 | * http://www.mingw.org/ ( MinGW ) | ||
| 42 | * http://www.cygwin.org/ ( Cygwin ) | ||
| 43 | * http://unxutils.sourceforge.net/ ( UnxUtils ) | ||
| 44 | * http://gnuwin32.sourceforge.net/ ( GnuWin32 ) | ||
| 40 | 45 | ||
| 41 | If you build Emacs on Windows 9X or ME, not on Windows 2K/XP or | 46 | If you build Emacs on Windows 9X or ME, not on Windows 2K/XP or |
| 42 | Windows NT, we suggest to install the Cygwin port of Bash. | 47 | Windows NT, we suggest to install the Cygwin port of Bash. |
| 43 | 48 | ||
| 44 | Please see http://www.mingw.org for pointers to GCC/Mingw and binaries. | 49 | Additional instructions and help for building Emacs on Windows can be |
| 50 | found at the Emacs Wiki: | ||
| 51 | |||
| 52 | http://www.emacswiki.org/cgi-bin/wiki/WThirtyTwoInstallationKit | ||
| 45 | 53 | ||
| 46 | For reference, here is a list of which builds of GNU make are known | 54 | For reference, here is a list of which builds of GNU make are known |
| 47 | to work or not, and whether they work in the presence and/or absence | 55 | to work or not, and whether they work in the presence and/or absence |
| @@ -109,9 +117,13 @@ | |||
| 109 | able to detect the headers. | 117 | able to detect the headers. |
| 110 | 118 | ||
| 111 | To use the external image support, the DLLs implementing the | 119 | To use the external image support, the DLLs implementing the |
| 112 | functionality must be found when Emacs is started, either on the PATH, | 120 | functionality must be found when Emacs first needs them, either on the |
| 113 | or in the same directory as emacs.exe. Failure to find a library is | 121 | PATH, or in the same directory as emacs.exe. Failure to find a |
| 114 | not an error; the associated image format will simply be unavailable. | 122 | library is not an error; the associated image format will simply be |
| 123 | unavailable. Note that once Emacs has determined that a library can | ||
| 124 | not be found, there's no way to force it to try again, other than | ||
| 125 | restarting. See the variable `image-library-alist' to configure the | ||
| 126 | expected names of the libraries. | ||
| 115 | 127 | ||
| 116 | Some image libraries have dependencies on one another, or on zlib. | 128 | Some image libraries have dependencies on one another, or on zlib. |
| 117 | For example, tiff support depends on the jpeg library. If you did not | 129 | For example, tiff support depends on the jpeg library. If you did not |
| @@ -120,14 +132,8 @@ | |||
| 120 | compatible (for example, that they were built with the same compiler). | 132 | compatible (for example, that they were built with the same compiler). |
| 121 | 133 | ||
| 122 | Binaries for the image libraries (among many others) can be found at | 134 | Binaries for the image libraries (among many others) can be found at |
| 123 | GnuWin32 (http://gnuwin32.sourceforge.net). These are built with | 135 | the GnuWin32 project. These are built with MinGW, but they can be |
| 124 | MinGW, and so are very compatible with GCC/MinGW builds of Emacs (like | 136 | used with both GCC/MinGW and MSVC builds of Emacs. |
| 125 | the official binary tarballs for Windows). Compatibility with MSVC, | ||
| 126 | on the other hand, is still weak and should not be trusted in | ||
| 127 | production environments; if you really need an MSVC-compiled Emacs | ||
| 128 | with image support, you should try to build the required libraries | ||
| 129 | with the same compiler (though it can be extremely non-trivial, and | ||
| 130 | we'll be interested on hearing of any such effort). | ||
| 131 | 137 | ||
| 132 | * Building | 138 | * Building |
| 133 | 139 | ||
| @@ -162,7 +168,7 @@ | |||
| 162 | * Trouble-shooting | 168 | * Trouble-shooting |
| 163 | 169 | ||
| 164 | The main problems that are likely to be encountered when building | 170 | The main problems that are likely to be encountered when building |
| 165 | Emacs stem from using an old version of GCC, or old Mingw or W32 API | 171 | Emacs stem from using an old version of GCC, or old MinGW or W32 API |
| 166 | headers. Additionally, cygwin ports of GNU make may require the Emacs | 172 | headers. Additionally, cygwin ports of GNU make may require the Emacs |
| 167 | source tree to be mounted with text!=binary, because the makefiles | 173 | source tree to be mounted with text!=binary, because the makefiles |
| 168 | generated by configure.bat necessarily use DOS line endings. Also, | 174 | generated by configure.bat necessarily use DOS line endings. Also, |