annotate nt/README @ 155:43dd3413c7c7 r20-3b4

Import from CVS: tag r20-3b4
author cvs
date Mon, 13 Aug 2007 09:39:39 +0200
parents 4be1180a9e89
children 15872534500d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
1 Building and Installing XEmacs
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
2 on Windows NT
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
3
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
4 David Hobley <david_hobley@optusvision.com.au>
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
5 <davidh@wr.com.au>
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
6 Marc Paquette <marcpa@cam.org>
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
7
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
8 You need a compiler package to build and install XEmacs on NT or Win95.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
9 Microsoft Visual C++ 4.2 has been successfuly used to build it on NT: we
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
10 recommend this specific version (VC++ 4.1 has trouble with some macro
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
11 definitions in XEmacs sources).
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
12
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
13 This is an extremely early release. Any help we can provide we will do
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
14 so. Note however that, as of XEmacs 20.3 beta4, only X is supported
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
15 and some things might not work well at first.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
16
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
17 Two methods to try it: jumpstart with pre-compiled X libraries (NT4
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
18 for Intel) or the long route with X11R6.3 re-compiled from scratch.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
19 The jumpstart method is not in place yet, but the files will probably
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
20 appear somewhere at ftp.xemacs.org. Here are some instructions for
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
21 recompiling X:
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
22
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
23 1. Get X11R6.3 (Note: you need *a lots* of free space on your drive).
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
24 Modify its Win32.cf and site.def configuration files
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
25 to use the single-threaded, statically linked C run-time library
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
26 (libc.lib instead of msvcrt.dll). Samples Win32.cf and site.def are
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
27 provided in the XEmacs nt/ directory.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
28 2. Build X11R6.3 and install it.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
29 3. Apply the following patch to include/X11/Xmd.h in the installed
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
30 directory. Note: this could conceivably be better done before
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
31 compiling X, but this is the order I (marcpa) used.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
32
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
33 --- Xmd.h~ Thu Jun 08 23:20:40 1995
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
34 +++ Xmd.h Sun Mar 16 13:09:10 1997
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
35 @@ -150,8 +150,9 @@
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
36 typedef CARD16 BITS16;
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
37 typedef CARD8 BYTE;
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
38
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
39 +#ifndef WIN32
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
40 typedef CARD8 BOOL;
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
41 -
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
42 +#endif
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
43
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
44
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
45 4. Edit the xemacs.mak Makefile and ensure variables point to the
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
46 correct place.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
47 5. copy the files ad2c.sed, config.h, paths.h and xemacs.mak from nt/
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
48 into src/.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
49 6. Run nmake using xemacs.mak (nmake -f xemacs.mak) while in src/.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
50 7. Manually run the resulting temacs executable to create xemacs:
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
51 temacs.exe -batch -l loadup.el dump
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
52 8. You should be able to use MSDEV to run and debug temacs.exe: open a
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
53 workspace by specifying "Executable files", select "temacs.exe", set
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
54 the debug "Program arguments" settings (Build->Settings->Debug) to "-batch -l
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
55 loadup.el run-temacs" and run it. You should be able to open any
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
56 source file and set a breakpoint in it.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
57
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
58 Problems:
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
59 - Haven't got rid of some symbol problems which may be causing problems.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
60 - Still seems to use fork, which fails without /force option on link. I am
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
61 trying to work out where it should be removed.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
62 - To make it work on X, usage of XtAppAddInput had to be commented out.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
63 This is expected to break some parts of XEmacs, so beware.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
64
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
65 Any problems/questions, mail us:
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
66
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
67 David Hobley
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
68 david_hobley@optusvision.com.au -- work email.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
69 davidh@wr.com.au -- home account.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
70
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
71 Marc Paquette
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 100
diff changeset
72 marcpa@cam.org -- home account.