Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!necntc!ames!ptsfa!maxepr!cgh!manta!brant From: brant@manta.UUCP (Brant Cheikes) Newsgroups: comp.emacs Subject: Gnu Emacs unexec on the Unix PC Message-ID: <153@manta.UUCP> Date: Tue, 6-Oct-87 22:48:47 EDT Article-I.D.: manta.153 Posted: Tue Oct 6 22:48:47 1987 Date-Received: Sat, 10-Oct-87 18:37:59 EDT Reply-To: brant@manta.UUCP (Brant Cheikes) Organization: Philadelphia, PA Lines: 19 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