comparison nt/README @ 195:a2f645c6b9f8 r20-3b24

Import from CVS: tag r20-3b24
author cvs
date Mon, 13 Aug 2007 09:59:05 +0200
parents 15872534500d
children 78f53ef88e17
comparison
equal deleted inserted replaced
194:2947057885e5 195:a2f645c6b9f8
11 and others who worked on the GNU Emacs port to NT. Their version is available 11 and others who worked on the GNU Emacs port to NT. Their version is available
12 from http://www.cs.washington.edu/homes/voelker/ntemacs.html 12 from http://www.cs.washington.edu/homes/voelker/ntemacs.html
13 13
14 To get it working you will need: 14 To get it working you will need:
15 15
16 1. An X server. MI/X is available on the Internet for free; It is 16 1. An X server. MI/X is available on the Internet for free; It is
17 available from: http://www.microimages.com/www/html/freestuf/mixdlfrm.htm 17 available from: http://www.microimages.com/www/html/freestuf/mixdlfrm.htm
18 2. The MIT X11R6.3 libraries available from: ftp.x.org 18 2. The MIT X11R6.3 libraries available from: ftp.x.org
19 3. You'll need to compile the MIT libraries without multi-thread support. 19 3. You'll need to compile the MIT libraries without multi-thread support.
20 To do this, there is an example Win32.cf and site.def provided which 20 To do this, there is an example Win32.cf and site.def provided which
21 set the relevant flags. You will also need to apply the patch in 21 set the relevant flags. You will also need to apply the patch in
22 nt/X11.patch in the xc/lib/X11 directory which will fix the DLL definition 22 nt/X11.patch in the xc/lib/X11 directory which will fix the DLL definition
23 file. Once compiled and installed, you will need to apply the following 23 file. Once compiled and installed, you will need to apply the following
24 patch to Xmd.h. This is messy and better solutions would be appreciated. 24 patch to Xmd.h. This is messy and better solutions would be appreciated.
25 25
26 --- Xmd.h~ Thu Jun 08 23:20:40 1995 26 --- Xmd.h~ Thu Jun 08 23:20:40 1995
27 +++ Xmd.h Sun Mar 16 13:09:10 1997 27 +++ Xmd.h Sun Mar 16 13:09:10 1997
28 @@ -150,8 +150,9 @@ 28 @@ -150,8 +150,9 @@
29 typedef CARD16 BITS16; 29 typedef CARD16 BITS16;
31 31
32 +#ifndef WIN32 32 +#ifndef WIN32
33 typedef CARD8 BOOL; 33 typedef CARD8 BOOL;
34 - 34 -
35 +#endif 35 +#endif
36 36
37 4. You will need Visual C++ V4.2 or later to compile everything. Personally we 37 4. You will need Visual C++ V4.2 or later to compile everything. Personally we
38 have tested V4.2 and V5.0. 38 have tested V4.2 and V5.0.
39 5. Grab the latest XEmacs beta from ftp.xemacs.org if necessary. All nt 39 5. Grab the latest XEmacs beta from ftp.xemacs.org if necessary. All nt
40 support is in the nt/ subdirectory. 40 support is in the nt/ subdirectory.
41 6. Edit the xemacs.mak file and ensure variables point to the correct place. 41 6. Edit the xemacs.mak file and ensure variables point to the correct place.
42 Note that Visual C++ assumes a couple of environment variables INCLUDE and 42 Note that Visual C++ assumes a couple of environment variables INCLUDE and
43 LIB to be set which specify the location of the includes and libraries. 43 LIB to be set which specify the location of the includes and libraries.
44 7. Copy the files Emacs.ad.h, config.h and paths.h from nt/ to src/. 44 7. Copy the files Emacs.ad.h, config.h and paths.h from nt/ to src/.
45 Note, to rebuild Emacs.ad.h a sed script is run. SED for NT is available 45 Note, to rebuild Emacs.ad.h a sed script is run. SED for NT is available
46 from the Virtually Unix site: http://www.itribe.net/virtunix 46 from the Virtually Unix site: http://www.itribe.net/virtunix
47 This is not required however in normal operation. 47 This is not required however in normal operation.
48 8. Run make. I simply use nmake -f xemacs.mak. 48 8. Run make. I simply use nmake -f xemacs.mak.
49 9. Change directory to the src/ directory and run the temacs executable 49 9. Change directory to the src/ directory and run the temacs executable
50 manually: 50 manually:
51 temacs -batch -l loadup.el dump 51 temacs -batch -l loadup.el dump
52 This will produce an xemacs.exe which can be run in conjunction with your 52 This will produce an xemacs.exe which can be run in conjunction with your
53 X server. 53 X server.
54 10. Ensure your HOME environment variable is set correctly. Also ensure TERM
55 isn't set anywhere.
56 11. When you build, the DOC file will get created correctly. However I don't
57 update the elc's by default. This means the build will fail on the DOC
58 file if they don't exist. Just use the update-elcs rule and then rebuild.
54 59
55 Known Problems: 60 Known Problems:
56 Please look at the TODO list for the current list of problems and people 61 Please look at the TODO list for the current list of problems and people
57 working on them. 62 working on them.
58 63