annotate nt/README @ 169:15872534500d r20-3b11

Import from CVS: tag r20-3b11
author cvs
date Mon, 13 Aug 2007 09:46:53 +0200
parents 43dd3413c7c7
children a2f645c6b9f8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
1 Building and Installing XEmacs on Windows NT
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
2
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
3 David Hobley
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
4 Marc Paquette
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
5
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
6 Currently XEmacs for NT is in an early stage of development. Only X support
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
7 works at the moment, although native GUI/terminal support will be added at a
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
8 later date. If anyone wants to help with this, please contact us.
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
9
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
10 The port was made much easier by the groundbreaking work of Geoff Voelker
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
11 and others who worked on the GNU Emacs port to NT. Their version is available
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
12 from http://www.cs.washington.edu/homes/voelker/ntemacs.html
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
13
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
14 To get it working you will need:
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
15
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
16 1. An X server. MI/X is available on the Internet for free; It is
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
17 available from: http://www.microimages.com/www/html/freestuf/mixdlfrm.htm
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
18 2. The MIT X11R6.3 libraries available from: ftp.x.org
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
19 3. You'll need to compile the MIT libraries without multi-thread support.
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
20 To do this, there is an example Win32.cf and site.def provided which
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
21 set the relevant flags. You will also need to apply the patch in
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
22 nt/X11.patch in the xc/lib/X11 directory which will fix the DLL definition
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
23 file. Once compiled and installed, you will need to apply the following
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
24 patch to Xmd.h. This is messy and better solutions would be appreciated.
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
25
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
26 --- Xmd.h~ Thu Jun 08 23:20:40 1995
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
27 +++ Xmd.h Sun Mar 16 13:09:10 1997
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
28 @@ -150,8 +150,9 @@
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
29 typedef CARD16 BITS16;
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
30 typedef CARD8 BYTE;
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
31
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
32 +#ifndef WIN32
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
33 typedef CARD8 BOOL;
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
34 -
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
35 +#endif
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
36
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
37 4. You will need Visual C++ V4.2 or later to compile everything. Personally we
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
38 have tested V4.2 and V5.0.
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
39 5. Grab the latest XEmacs beta from ftp.xemacs.org if necessary. All nt
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
40 support is in the nt/ subdirectory.
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
41 6. Edit the xemacs.mak file and ensure variables point to the correct place.
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
42 Note that Visual C++ assumes a couple of environment variables INCLUDE and
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
43 LIB to be set which specify the location of the includes and libraries.
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
44 7. Copy the files Emacs.ad.h, config.h and paths.h from nt/ to src/.
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
45 Note, to rebuild Emacs.ad.h a sed script is run. SED for NT is available
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
46 from the Virtually Unix site: http://www.itribe.net/virtunix
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
47 This is not required however in normal operation.
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
48 8. Run make. I simply use nmake -f xemacs.mak.
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
49 9. Change directory to the src/ directory and run the temacs executable
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
50 manually:
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
51 temacs -batch -l loadup.el dump
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
52 This will produce an xemacs.exe which can be run in conjunction with your
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
53 X server.
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
54
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
55 Known Problems:
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
56 Please look at the TODO list for the current list of problems and people
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
57 working on them.
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
58
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
59 Any other problems you need clarified, please email us and we will endeavour
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
60 to provide any assistance we can:
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
61
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
62 David Hobley david_hobley@optusvision.com.au -- work email.
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
63 davidh@wr.com.au -- home account.
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
64
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
65 Marc Paquette marcpa@cam.org -- home account.
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
66
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 155
diff changeset
67 August Hill awhill@inlink.com