aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2004-06-04 00:12:24 +0000
committerJuanma Barranquero2004-06-04 00:12:24 +0000
commit3dfbc6d87705c9a8cf93420e09269a7a65a372c6 (patch)
treed5503237a30ea9a752aaf4ce233b100540b00a85
parentd0923e437b00977c09b7ef1a54677ccf4d3e00ab (diff)
downloademacs-3dfbc6d87705c9a8cf93420e09269a7a65a372c6.tar.gz
emacs-3dfbc6d87705c9a8cf93420e09269a7a65a372c6.zip
Reword the section on image support. Add reference to GnuWin32. Mention
problems when mixing binaries from different compilers.
-rw-r--r--nt/ChangeLog6
-rw-r--r--nt/INSTALL47
2 files changed, 36 insertions, 17 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index fa411283e76..7faf16a0836 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,9 @@
12004-06-04 Juanma Barranquero <lektu@terra.es>
2
3 * INSTALL: Reword the section on image support. Add reference to
4 GnuWin32. Mention problems when mixing binaries from different
5 compilers.
6
12004-05-06 Jason Rumney <jasonr@gnu.org> 72004-05-06 Jason Rumney <jasonr@gnu.org>
2 8
3 * configure.bat: Use -mno-cygwin to check for image libraries 9 * configure.bat: Use -mno-cygwin to check for image libraries
diff --git a/nt/INSTALL b/nt/INSTALL
index 273c6b1e16b..420dced5505 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/2000 and Windows 95/98/ME 2 on Windows NT/2K/XP and Windows 95/98/ME
3 3
4 Copyright (c) 2001 Free Software Foundation, Inc. 4 Copyright (c) 2001,2004 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
@@ -31,7 +31,7 @@
31 like this, we recommend the use of the supported compilers mentioned 31 like this, we recommend the use of the supported compilers mentioned
32 in the previous paragraph. 32 in the previous paragraph.
33 33
34 If you build Emacs on Windows 9X or ME, not on Windows 2000 or 34 If you build Emacs on Windows 9X or ME, not on Windows 2K/XP or
35 Windows NT, we suggest to install the Cygwin port of Bash. 35 Windows NT, we suggest to install the Cygwin port of Bash.
36 36
37 Please see http://www.mingw.org for pointers to GCC/Mingw binaries. 37 Please see http://www.mingw.org for pointers to GCC/Mingw binaries.
@@ -90,22 +90,35 @@
90 90
91* Optional image library support 91* Optional image library support
92 92
93 To build Emacs with support for PNG images, the libpng and zlib 93 In addition to its "native" image formats (pbm and xbm), Emacs can
94 headers must be in the include path when the configure script is 94 handle other image types: xpm, tiff, gif, png and jpeg (postscript is
95 run. This can be setup using environment variables, or by 95 currently unsupported on Windows). To build Emacs with support for
96 specifying --cflags -I... options on the command-line to 96 them, the corresponding headers must be in the include path when the
97 configure.bat. Similarly, the jpeg-6b, libXpm, tiff and libungif 97 configure script is run. This can be setup using environment
98 headers need to be in the include path for support for those image 98 variables, or by specifying --cflags -I... options on the command-line
99 formats to work. The configure script will report whether it was 99 to configure.bat. The configure script will report whether it was
100 able to detect the headers. 100 able to detect the headers.
101 101
102 To use the PNG support, zlib.dll (or zlibd.dll) and libpng.dll (or 102 To use the external image support, the DLLs implementing the
103 libpng13.dll, or libpng13d.dll) must be on the PATH or in the same 103 functionality must be found when Emacs is started, either on the PATH,
104 directory as emacs.exe when Emacs is started. Similar instructions 104 or in the same directory as emacs.exe. Failure to find a library is
105 apply for other image libraries. Note that tiff support depends on 105 not an error; the associated image format will simply be unavailable.
106 the jpeg library. If you did not compile the libraries yourself, you 106
107 must make sure that the jpeg library you install is the same one 107 Some image libraries have dependencies on one another, or on zlib.
108 that the tiff library was compiled against. 108 For example, tiff support depends on the jpeg library. If you did not
109 compile the libraries yourself, you must make sure that any dependency
110 is in the PATH or otherwise accesible and that the binaries are
111 compatible (for example, that they were built with the same compiler).
112
113 Binaries for the image libraries (among many others) can be found at
114 GnuWin32 (http://gnuwin32.sourceforge.net). These are built with
115 MinGW and work better with GCC/MinGW builds of Emacs, like the
116 official binary tarballs for Windows. Compatibility with MSVC is
117 still weak and should not be trusted in production environments; if
118 you really need an MSVC-compiled Emacs with image support, you should
119 try to build the required libraries with the same compiler (though it
120 can be extremely non-trivial, and we'll be interested on hearing of
121 any such effort).
109 122
110* Building 123* Building
111 124