169
|
1 Building and Installing XEmacs on Windows NT
|
155
|
2
|
169
|
3 David Hobley
|
|
4 Marc Paquette
|
155
|
5
|
169
|
6 Currently XEmacs for NT is in an early stage of development. Only X support
|
|
7 works at the moment, although native GUI/terminal support will be added at a
|
|
8 later date. If anyone wants to help with this, please contact us.
|
155
|
9
|
169
|
10 The port was made much easier by the groundbreaking work of Geoff Voelker
|
|
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
|
|
13
|
|
14 To get it working you will need:
|
155
|
15
|
169
|
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
|
|
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.
|
|
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
|
|
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
|
|
24 patch to Xmd.h. This is messy and better solutions would be appreciated.
|
155
|
25
|
|
26 --- Xmd.h~ Thu Jun 08 23:20:40 1995
|
|
27 +++ Xmd.h Sun Mar 16 13:09:10 1997
|
|
28 @@ -150,8 +150,9 @@
|
|
29 typedef CARD16 BITS16;
|
|
30 typedef CARD8 BYTE;
|
|
31
|
|
32 +#ifndef WIN32
|
|
33 typedef CARD8 BOOL;
|
|
34 -
|
|
35 +#endif
|
|
36
|
169
|
37 4. You will need Visual C++ V4.2 or later to compile everything. Personally we
|
|
38 have tested V4.2 and V5.0.
|
|
39 5. Grab the latest XEmacs beta from ftp.xemacs.org if necessary. All nt
|
|
40 support is in the nt/ subdirectory.
|
|
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
|
|
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/.
|
|
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
|
|
47 This is not required however in normal operation.
|
|
48 8. Run make. I simply use nmake -f xemacs.mak.
|
|
49 9. Change directory to the src/ directory and run the temacs executable
|
|
50 manually:
|
|
51 temacs -batch -l loadup.el dump
|
|
52 This will produce an xemacs.exe which can be run in conjunction with your
|
|
53 X server.
|
155
|
54
|
169
|
55 Known Problems:
|
|
56 Please look at the TODO list for the current list of problems and people
|
|
57 working on them.
|
|
58
|
|
59 Any other problems you need clarified, please email us and we will endeavour
|
|
60 to provide any assistance we can:
|
155
|
61
|
169
|
62 David Hobley david_hobley@optusvision.com.au -- work email.
|
|
63 davidh@wr.com.au -- home account.
|
155
|
64
|
169
|
65 Marc Paquette marcpa@cam.org -- home account.
|
155
|
66
|
169
|
67 August Hill awhill@inlink.com
|