diff options
Diffstat (limited to 'nt/INSTALL')
| -rw-r--r-- | nt/INSTALL | 42 |
1 files changed, 38 insertions, 4 deletions
diff --git a/nt/INSTALL b/nt/INSTALL index e133d65e0d3..214caf7dd80 100644 --- a/nt/INSTALL +++ b/nt/INSTALL | |||
| @@ -15,10 +15,20 @@ | |||
| 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 |
| @@ -51,6 +61,10 @@ | |||
| 51 | 61 | ||
| 52 | http://www.emacswiki.org/cgi-bin/wiki/WThirtyTwoInstallationKit | 62 | http://www.emacswiki.org/cgi-bin/wiki/WThirtyTwoInstallationKit |
| 53 | 63 | ||
| 64 | and at this URL: | ||
| 65 | |||
| 66 | http://ourcomments.org/Emacs/EmacsW32.html | ||
| 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 |
| @@ -77,6 +91,7 @@ | |||
| 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 | ||
| @@ -88,6 +103,7 @@ | |||
| 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 | ||
| @@ -105,6 +121,12 @@ | |||
| 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. |
| 107 | 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). | ||
| 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 |
| @@ -114,7 +136,11 @@ | |||
| 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 |
| @@ -133,7 +159,9 @@ | |||
| 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 | ||
| @@ -187,6 +215,12 @@ | |||
| 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. |
| 189 | 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. | ||
| 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 |