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