[comp.lang.perl] Perl PL41 with -DUNEXEC

ckd@cs.bu.edu (Christopher Davis) (12/14/90)

I'm fiddling around with Perl PL41, trying to get tchrist's unexec stuff
to work.  I'm on a Sun4, SunOS 4.1, and I *know* unexec.c works (it
worked for GNU Emacs, anyway...).

I tried including unexec.c, adding -DUNEXEC in Configure, and compiling
everything.  It didn't like that (missing _start_of_data and
_start_of_text symbols).  I grepped around, grabbed the functions from
emacs's sysdep.c & added them to malloc.c (I'd already tried using
malloc.c from emacs, too), and recompiled.  It didn't like _start, which
near as I can tell should have been defined by the _start_of_data
function.

Can anyone make suggestions?  The unexec() approach seems so much
cleaner than using undump (which I can do...).

--Chris
--
     Christopher Davis, BU SMG '90  <ckd@cs.bu.edu> <...!bu.edu!bu-cs!ckd>
     "Dammit, we're all going to die, let's die doing something *useful*!"
	 --Hal Clement on comments that space exploration is dangerous