[comp.emacs] Gnu Emacs unexec on the Unix PC

brant@manta.UUCP (Brant Cheikes) (10/07/87)

After digging through the COFF doc for the Unix PC and doing a little
hackery, I discovered the fixes to m-7300.h that will allow unexec to
dump out a shared, demand paged image of Gnu Emacs.  Make sure these
lines are in your m-7300.h file before building:

#define LD_SWITCH_MACHINE -s
#define SEGMENT_MASK 65535
#define SECTION_ALIGNMENT 1023
#define NO_REMAP

Unfortunately, I haven't yet figured out how to make unexec work with
remapping.  Even so, with these minor changes, Gnu Emacs startup time
is reduced from 24 sec (when built with the -N option to ld) to 12
sec.
-- 
Brant Cheikes
University of Pennsylvania
Department of Computer and Information Science
ARPA: brant@linc.cis.upenn.edu  UUCP: ...cbmvax!cgh!manta!brant