Mercurial > hg > xemacs-beta
comparison nt/README @ 394:7d59cb494b73 r21-2-12
Import from CVS: tag r21-2-12
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 11:11:37 +0200 |
| parents | bbff43aa5eb7 |
| children | a86b2b5e0111 |
comparison
equal
deleted
inserted
replaced
| 393:2e030b8965b1 | 394:7d59cb494b73 |
|---|---|
| 56 contrib\win95\makefile.w95; that might work. | 56 contrib\win95\makefile.w95; that might work. |
| 57 | 57 |
| 58 4. If you want JPEG support grab the latest version of jpegsrc (jpeg-6b at | 58 4. If you want JPEG support grab the latest version of jpegsrc (jpeg-6b at |
| 59 time of writing) and read the README for details on how to build it. | 59 time of writing) and read the README for details on how to build it. |
| 60 | 60 |
| 61 5. cd to the nt subdirectory of the xemacs distribution and build xemacs: | 61 5. If you want X-Face support, grab compface distribution and unpack it |
| 62 somewhere. Copy nt\compface.mak from xemacs sources to the compface | |
| 63 directory. cd to that directory and build libcompface with | |
| 64 'nmake -f compface.mak'. | |
| 65 | |
| 66 6. cd to the nt subdirectory of the xemacs distribution and build xemacs: | |
| 62 `nmake install -f xemacs.mak`, but read on before hitting Enter. | 67 `nmake install -f xemacs.mak`, but read on before hitting Enter. |
| 63 | 68 |
| 64 6. If you're building with XPM support, add this to the nmake command line: | 69 7. If you're building with XPM support, add this to the nmake command line: |
| 65 HAVE_XPM=1 XPM_DIR="x:\location\of\your\xpm\sources" | 70 HAVE_XPM=1 XPM_DIR="x:\location\of\your\xpm\sources" |
| 66 and similarly for JPEG and TIFF support. | 71 and similarly for JPEG and TIFF support. |
| 67 | 72 |
| 68 If you're building with PNG support, add this to the nmake command line: | 73 If you're building with PNG support, add this to the nmake command line: |
| 69 HAVE_PNG=1 PNG_DIR="x:\location\of\your\png\sources" | 74 HAVE_PNG=1 PNG_DIR="x:\location\of\your\png\sources" |
| 70 ZLIB_DIR="x:\location\of\your\zlib\sources" | 75 ZLIB_DIR="x:\location\of\your\zlib\sources" |
| 71 | 76 |
| 72 If you want to build with GIF support, add this to the nmake command line: | 77 If you want to build with GIF support, add this to the nmake command line: |
| 73 HAVE_GIF=1 | 78 HAVE_GIF=1 |
| 74 | 79 |
| 75 7. By default, XEmacs will expect to find its packages in the subdirectories | 80 If you're building with X-Face support, add this to the nmake command line: |
| 81 HAVE_XFACE=1 COMPFACE_DIR="x:\location\of\your\compface\sources" | |
| 82 | |
| 83 8. By default, XEmacs will expect to find its packages in the subdirectories | |
| 76 "site-packages", "mule-packages" and "xemacs-packages" under the package | 84 "site-packages", "mule-packages" and "xemacs-packages" under the package |
| 77 prefix directory "c:\Program Files\XEmacs". If you want it to look for | 85 prefix directory "c:\Program Files\XEmacs". If you want it to look for |
| 78 these subdirectories elsewhere, add this to the nmake command line: | 86 these subdirectories elsewhere, add this to the nmake command line: |
| 79 PACKAGE_PREFIX="x:\your\package\directory" | 87 PACKAGE_PREFIX="x:\your\package\directory" |
| 80 If you change your mind and want to alter the package prefix directory | 88 If you change your mind and want to alter the package prefix directory |
| 81 after you've built XEmacs, delete the file .\obj\emacs.obj and rebuild with | 89 after you've built XEmacs, delete the file .\obj\emacs.obj and rebuild with |
| 82 the new PACKAGE_PREFIX. | 90 the new PACKAGE_PREFIX. |
| 83 | 91 |
| 84 8. By default, XEmacs will be installed in directories under the directory | 92 9. By default, XEmacs will be installed in directories under the directory |
| 85 "c:\Program Files\XEmacs\XEmacs-21.0". If you want to install it elsewhere, | 93 "c:\Program Files\XEmacs\XEmacs-21.0". If you want to install it elsewhere, |
| 86 add this to the nmake command line: | 94 add this to the nmake command line: |
| 87 INSTALL_DIR="x:\your\installation\directory" | 95 INSTALL_DIR="x:\your\installation\directory" |
| 88 | 96 |
| 89 9. Now you can press Enter. nmake will build temacs, the DOC file, update the | 97 10. Now you can press Enter. nmake will build temacs, the DOC file, update the |
| 90 elc's, dump xemacs and install the relevant files in the directories under | 98 elc's, dump xemacs and install the relevant files in the directories under |
| 91 the installation directory. Unless you set INSTALL_DIR above, the file that | 99 the installation directory. Unless you set INSTALL_DIR above, the file that |
| 92 you should run to start XEmacs will be installed as | 100 you should run to start XEmacs will be installed as |
| 93 "c:\Program Files\XEmacs\XEmacs-21.0\i386-pc-win32\runemacs.exe". You may | 101 "c:\Program Files\XEmacs\XEmacs-21.0\i386-pc-win32\runemacs.exe". You may |
| 94 want to create a shortcut to that file from your Desktop or Start Menu. | 102 want to create a shortcut to that file from your Desktop or Start Menu. |
| 95 | 103 |
| 96 10. The build process always creates debugging and "Source Browser" information | 104 11. The build process always creates debugging and "Source Browser" information |
| 97 in the source tree for use with MS DevStudio. If you actually want to debug | 105 in the source tree for use with MS DevStudio. If you actually want to debug |
| 98 XEmacs you should run XEmacs from the source directory instead of from the | 106 XEmacs you should run XEmacs from the source directory instead of from the |
| 99 installation directory. You should probably also build a debug version of | 107 installation directory. You should probably also build a debug version of |
| 100 XEmacs; to do this start with a clean source tree and add DEBUG_XEMACS=1 to | 108 XEmacs; to do this start with a clean source tree and add DEBUG_XEMACS=1 to |
| 101 the nmake command line. You probably don't want to install your debug build | 109 the nmake command line. You probably don't want to install your debug build |
