annotate w32/README @ 209:41ff10fd062f r20-4b3

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