209
|
1 Building and Installing XEmacs on Windows NT
|
|
2
|
|
3 David Hobley
|
|
4 Marc Paquette
|
|
5 Jonathan Harris
|
|
6
|
|
7 Currently XEmacs for win32 is in an early stage of development.
|
|
8
|
|
9 The port was made much easier by the groundbreaking work of Geoff Voelker
|
|
10 and others who worked on the GNU Emacs port to NT. Their version is available
|
|
11 from http://www.cs.washington.edu/homes/voelker/ntemacs.html
|
|
12
|
|
13 (jhar) I split the native-win32 build directory off from the nt build
|
|
14 directory. This is probably(?) a bad thing and I intend to try to merge the
|
|
15 w32 changes back in.
|
|
16
|
|
17 To get it working you will need:
|
|
18
|
|
19 1. You will need Visual C++ V4.2 or later to compile everything. Personally we
|
|
20 have tested V4.2 and V5.0.
|
|
21 2. Grab the latest XEmacs beta from ftp.xemacs.org if necessary. All
|
|
22 native-win32 support is in the w32/ subdirectory.
|
|
23 3. Edit the xemacs.mak file and ensure variables point to the correct place.
|
|
24 Note that Visual C++ assumes a couple of environment variables INCLUDE and
|
|
25 LIB to be set which specify the location of the includes and libraries.
|
|
26 4. Copy the files config.h and paths.h from w32/ to src/.
|
|
27 "nmake -f xemacs.mak distclean" will delete these files, so always edit
|
|
28 them in the w32 direvctory and copy them over.
|
|
29 5. "nmake -f xemacs.mak" Build temacs.exe.
|
|
30 "nmake -f xemacs.mak dump-elcs" Update the .elc files.
|
|
31 "nmake -f xemacs.mak dump-xemacs" Build xemacs.exe.
|
|
32 6. Ensure your HOME environment variable is set correctly.
|
|
33 7. The build process creates debugging and "Source Browser" information for
|
|
34 use with MS DevStudio. To use this create a new "console" project and set
|
|
35 the Project/Settings/Debug executable name to the full path of
|
|
36 src\xemacs.exe. Remember to close the Source Browser file in DevStudio
|
|
37 before rebuilding.
|
|
38 8. If you're going to edit sources I recommend that you first get a copy of
|
|
39 makedepend and make a list of dependencies in the makefile by doing
|
|
40 "nmake -f xemacs.mak depend". I (jhar) have a hacked-up copy of X11R5
|
|
41 makedepend which I can distribute if anyone wants it. Is there a real
|
|
42 version anywhere which handles '\' as the path delimiter?
|
|
43
|
|
44
|
|
45 Known Problems:
|
|
46 Please look at the TODO list for the current list of problems and people
|
|
47 working on them.
|
|
48
|
|
49 David Hobley david_hobley@optusvision.com.au -- work email.
|
|
50 davidh@wr.com.au -- home account.
|
|
51
|
|
52 Marc Paquette marcpa@cam.org -- home account.
|
|
53
|
|
54 August Hill awhill@inlink.com
|
|
55
|
|
56 Jonathan Harris jhar@tardis.ed.ac.uk
|