Mercurial > hg > xemacs-beta
comparison nt/README @ 318:afd57c14dfc8 r21-0b57
Import from CVS: tag r21-0b57
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:45:36 +0200 |
parents | 341dac730539 |
children | 03446687b7cc |
comparison
equal
deleted
inserted
replaced
317:a2fc9afbef65 | 318:afd57c14dfc8 |
---|---|
44 then type 'nmake'. | 44 then type 'nmake'. |
45 | 45 |
46 cd to the libpng directory, rename or move the zlib directory to ..\zlib | 46 cd to the libpng directory, rename or move the zlib directory to ..\zlib |
47 and type 'nmake -f scripts\makefile.w32'. | 47 and type 'nmake -f scripts\makefile.w32'. |
48 | 48 |
49 3. If you want JPEG and/or TIFF support grab the latest versions of jpegsrc | 49 3. If you want TIFF support, grap the latest version of libtiff (tiff-v3.4 |
50 and/or libtiff and read the respective READMEs for details on how to build | 50 at time of writing) and unpack it somewhere. Copy nt\tiff.mak from the |
51 them. | 51 xemacs sources to the contrib\winnt subdirectory of the tiff sources, |
52 cd to that directory and build libtiff with 'nmake -f tiff.mak'. Note: | |
53 tiff.mak has only been verified to work under WinNT, not Win95 or 98. | |
54 However, the lastest distribution of libtiff includes a | |
55 contrib\win95\makefile.w95; that might work. | |
52 | 56 |
53 4. cd to the nt subdirectory of the xemacs distribution and build xemacs: | 57 4. If you want JPEG support grab the latest version of jpegsrc (jpeg-6b at |
58 time of writing) and read the README for details on how to build it. | |
59 | |
60 5. cd to the nt subdirectory of the xemacs distribution and build xemacs: | |
54 `nmake install -f xemacs.mak`, but read on before hitting Enter. | 61 `nmake install -f xemacs.mak`, but read on before hitting Enter. |
55 | 62 |
56 5. If you're building with XPM support, add this to the nmake command line: | 63 6. If you're building with XPM support, add this to the nmake command line: |
57 HAVE_XPM=1 XPM_DIR="x:\location\of\your\xpm\sources" | 64 HAVE_XPM=1 XPM_DIR="x:\location\of\your\xpm\sources" |
58 and similarly for JPEG and TIFF support. | 65 and similarly for JPEG and TIFF support. |
59 | 66 |
60 If you're building with PNG support, add this to the nmake command line: | 67 If you're building with PNG support, add this to the nmake command line: |
61 HAVE_PNG=1 PNG_DIR="x:\location\of\your\png\sources" | 68 HAVE_PNG=1 PNG_DIR="x:\location\of\your\png\sources" |
62 ZLIB_DIR="x:\location\of\your\zlib\sources" | 69 ZLIB_DIR="x:\location\of\your\zlib\sources" |
63 | 70 |
64 If you want to build with GIF support, add this to the nmake command line: | 71 If you want to build with GIF support, add this to the nmake command line: |
65 HAVE_GIF=1 | 72 HAVE_GIF=1 |
66 | 73 |
67 6. By default, XEmacs will look for packages in | 74 7. By default, XEmacs will look for packages in |
68 "c:\Program Files\XEmacs\packages". If you want it to look elsewhere, | 75 "c:\Program Files\XEmacs\packages". If you want it to look elsewhere, |
69 add this to the nmake command line: | 76 add this to the nmake command line: |
70 PACKAGEPATH="x:\\location\\of\\your\\packages" | 77 PACKAGEPATH="x:\\location\\of\\your\\packages" |
71 Note the doubled-up backslashes in that path. If you want to change the | 78 Note the doubled-up backslashes in that path. If you want to change the |
72 package path after you've already built XEmacs, delete the file | 79 package path after you've already built XEmacs, delete the file |
73 .\obj\emacs.obj before rebuilding with the new value of PACKAGEPATH. | 80 .\obj\emacs.obj before rebuilding with the new value of PACKAGEPATH. |
74 | 81 |
75 7. By default, XEmacs will be installed in directories under the directory | 82 8. By default, XEmacs will be installed in directories under the directory |
76 "c:\Program Files\XEmacs\XEmacs-21.0". If you want to install it | 83 "c:\Program Files\XEmacs\XEmacs-21.0". If you want to install it |
77 elsewhere, add this to the nmake command line: | 84 elsewhere, add this to the nmake command line: |
78 INSTALL_DIR="x:\your\installation\directory" | 85 INSTALL_DIR="x:\your\installation\directory" |
79 | 86 |
80 8. Now you can press Enter. nmake will build temacs, the DOC file, update the | 87 9. Now you can press Enter. nmake will build temacs, the DOC file, update the |
81 elc's, dump xemacs and install the relevant files in the directories under | 88 elc's, dump xemacs and install the relevant files in the directories under |
82 the installation directory. Unless you set INSTALL_DIR above, the file that | 89 the installation directory. Unless you set INSTALL_DIR above, the file that |
83 you should run to start XEmacs will be installed as | 90 you should run to start XEmacs will be installed as |
84 "c:\Program Files\XEmacs\XEmacs-21.0\i386-pc-win32\runemacs.exe". You may | 91 "c:\Program Files\XEmacs\XEmacs-21.0\i386-pc-win32\runemacs.exe". You may |
85 want to create a shortcut to that file from your Desktop or Start Menu. | 92 want to create a shortcut to that file from your Desktop or Start Menu. |
86 | 93 |
87 9. The build process always creates debugging and "Source Browser" information | 94 10. The build process always creates debugging and "Source Browser" information |
88 in the source tree for use with MS DevStudio. If you actually want to debug | 95 in the source tree for use with MS DevStudio. If you actually want to debug |
89 XEmacs you should run XEmacs from the source directory instead of from the | 96 XEmacs you should run XEmacs from the source directory instead of from the |
90 installation directory. You should probably also build a debug version of | 97 installation directory. You should probably also build a debug version of |
91 XEmacs; to do this start with a clean source tree and add DEBUG_XEMACS=1 to | 98 XEmacs; to do this start with a clean source tree and add DEBUG_XEMACS=1 to |
92 the nmake command line. You probably don't want to install your debug build | 99 the nmake command line. You probably don't want to install your debug build |