简体   繁体   中英

how to compile emacs 22.3

I've recently made a Slax instalation with only the core program. I used a copy of the live CD and ran a script to make hda1 bootable and then another script to use lilo to boot it... they were all in the CD... So it's like a big live cd on my HD and not really a full fledged OS. Anyway I want to begin by compiling my own Emacs... Can someone help me? thanks

The process shouldn't be too complicated. First, you need to download the source from http://ftp.gnu.org/pub/gnu/emacs/ Then, you untar the source with

tar xzf emacs-22.3.tar.gz

and cd into the newly created directory (emacs-22.3) There, you run:

./configure

and then

make && make install

Read the INSTALL file for more information.

To compile emacs 22.3, first download http://ftp.gnu.org/pub/gnu/emacs/emacs-22.3.tar.gz . Extract the files to a directory, and then follow the instructions in the INSTALL file to install.

If you're asking about how to compile it on a read-only filesystem:

  1. If you have lots of RAM, you can mount a ram disk.
  2. If you have a harddisk, you can mount the extra space.
  3. You can look at something like fuse for more ideas.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM