home *** CD-ROM | disk | FTP | other *** search
- To compile emacs, you will need SAS C 5.10b. If you try to make it work
- with Aztec C or gcc, you might run into difficulties with the dumping code:
- - The "small" data model (A4-relative) is used, to get all the variables
- in one hunk.
- - Some variables are declared with the "far" attribute to get them out
- of this hunk (and the dumping code depends on this). Move these to
- the amiga_data.c module (which is for variables that shouldn't be
- dumped).
- You will also need my 'unix compatibility' library which should have been
- distributed alongside emacs.
-
- To compile:
-
- a) Install the 'unix compatibility' library.
-
- b) Install as usual (see INSTALLATION).
-
- c) Compile the C preprocessor (SAS's one has problems ...):
-
- cd gnuemacs:cpp
- lmk
-
- When the preprocessor is running, it needs to find uncompacted versions
- of the include files. If you only installed the compacted include files,
- you will have to install the uncompacted ones somewhere.
-
- You can check your type of include files by looking to see if (eg)
- include:stdio.h is a readable text file (all is ok) or contains binary
- characters (you have the compacted files).
-
- d) Define cpp-include: to point to the uncompacted include files. If you forget
- this, you won't get a requester ...
-
- e) Compile & dump emacs
-
- stack 20000
- cd gnuemacs:src
- lmk
- copy temacs /
-
- (This takes around 20 minutes from scratch on an A2500/30).
-
- If all goes well, you should have a new version of emacs ...
-
- [Note: The DOC strings are not remade systematically. To change this,
- edit ymakefile and remove the comment from the rule for xemacs]
-