Mercurial > emacs
comparison INSTALL @ 35062:3168ff2c349b
Tweaks to configure instructions and saving space.
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 04 Jan 2001 19:17:21 +0000 |
parents | 4b4cc897a985 |
children | e550edb781e6 |
comparison
equal
deleted
inserted
replaced
35061:55713e74f1aa | 35062:3168ff2c349b |
---|---|
39 directory, where you want to build Emacs, and invoke `configure' | 39 directory, where you want to build Emacs, and invoke `configure' |
40 from there: | 40 from there: |
41 | 41 |
42 SOURCE-DIR/configure | 42 SOURCE-DIR/configure |
43 | 43 |
44 where SOURCE-DIR is the top-level Emacs source directory. | 44 where SOURCE-DIR is the top-level Emacs source directory. This |
45 may not work unless you use GNU make. | |
45 | 46 |
46 4. When `configure' finishes, it prints several lines of details | 47 4. When `configure' finishes, it prints several lines of details |
47 about the system configuration. Read those details carefully | 48 about the system configuration. Read those details carefully |
48 looking for anything suspicious, such as wrong CPU and operating | 49 looking for anything suspicious, such as wrong CPU and operating |
49 system names, wrong places for headers or libraries, missing | 50 system names, wrong places for headers or libraries, missing |
53 explicit machine configuration name, and one or more options | 54 explicit machine configuration name, and one or more options |
54 which tell it where to find various headers and libraries; refer | 55 which tell it where to find various headers and libraries; refer |
55 to DETAILED BUILDING AND INSTALLATION section below. | 56 to DETAILED BUILDING AND INSTALLATION section below. |
56 | 57 |
57 If `configure' didn't find some image support libraries, such as | 58 If `configure' didn't find some image support libraries, such as |
58 Xpm, jpeg, etc., refer to the subsection "Image support | 59 Xpm, jpeg, etc., and you want to use them refer to the subsection |
59 libraries", below. | 60 "Image support libraries", below. |
60 | 61 |
61 If the details printed by `configure' don't make any sense to | 62 If the details printed by `configure' don't make any sense to |
62 you, assume that `configure' did its job and proceed. | 63 you, assume that `configure' did its job and proceed. |
63 | 64 |
64 5. If you need to run the `configure' script more than once (e.g., | 65 5. If you need to run the `configure' script more than once (e.g., |
87 You are now ready to use Emacs. If you wish to conserve disk space, | 88 You are now ready to use Emacs. If you wish to conserve disk space, |
88 you may remove the program binaries and object files from the | 89 you may remove the program binaries and object files from the |
89 directory where you built Emacs: | 90 directory where you built Emacs: |
90 | 91 |
91 make clean | 92 make clean |
93 | |
94 You can also save some space by compressing (with `gzip') Info files | |
95 and installed Lisp source (.el) files which have corresponding .elc | |
96 versions. | |
92 | 97 |
93 | 98 |
94 ADDITIONAL DISTRIBUTION FILES | 99 ADDITIONAL DISTRIBUTION FILES |
95 | 100 |
96 * leim-M.N.tar.gz | 101 * leim-M.N.tar.gz |
346 running `configure'. CPPFLAGS lists the options passed to the | 351 running `configure'. CPPFLAGS lists the options passed to the |
347 preprocessor, CFLAGS are compilation options, LDFLAGS are options used | 352 preprocessor, CFLAGS are compilation options, LDFLAGS are options used |
348 when linking, LIBS are libraries to link against, and CC is the | 353 when linking, LIBS are libraries to link against, and CC is the |
349 command which invokes the compiler. | 354 command which invokes the compiler. |
350 | 355 |
351 Here's an example of a `configure' invocation which uses these | 356 Here's an example of a `configure' invocation, assuming a Bourne-like |
352 variables: | 357 shell such as Bash, which uses these variables: |
353 | 358 |
354 CPPFLAGS='-I/foo/myinclude' LDFLAGS='-L/bar/mylib' \ | 359 CPPFLAGS='-I/foo/myinclude' LDFLAGS='-L/bar/mylib' \ |
355 CFLAGS='-O3' LIBS='-lfoo -lbar' ./configure | 360 CFLAGS='-O3' LIBS='-lfoo -lbar' ./configure |
356 | 361 |
357 (this is all one long line). This tells `configure' to instruct the | 362 (this is all one long line). This tells `configure' to instruct the |
840 /emacs, installing moves the executables from /emacs/src and | 845 /emacs, installing moves the executables from /emacs/src and |
841 /emacs/lib-src to the directory /emacs/bin, so you can then delete the | 846 /emacs/lib-src to the directory /emacs/bin, so you can then delete the |
842 subdirectories /emacs/src and /emacs/lib-src if you wish. The only | 847 subdirectories /emacs/src and /emacs/lib-src if you wish. The only |
843 subdirectories you need to keep are bin, lisp, etc and info. (If you | 848 subdirectories you need to keep are bin, lisp, etc and info. (If you |
844 installed Leim, keep the leim subdirectory, and if you installed | 849 installed Leim, keep the leim subdirectory, and if you installed |
845 intlfonts, keep the fonts directory and all its sibdirectories as well.) | 850 intlfonts, keep the fonts directory and all its subdirectories as well.) |
846 The bin subdirectory should be added to your PATH. The msdos | 851 The bin subdirectory should be added to your PATH. The msdos |
847 subdirectory includes a PIF and an icon file for Emacs which you might | 852 subdirectory includes a PIF and an icon file for Emacs which you might |
848 find useful if you run Emacs under MS Windows. | 853 find useful if you run Emacs under MS Windows. |
849 | 854 |
850 Emacs on MSDOS finds the lisp, etc and info directories by looking in | 855 Emacs on MSDOS finds the lisp, etc and info directories by looking in |