Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!news.funet.fi!hydra!hylka!stickler From: stickler@cc.helsinki.fi Newsgroups: comp.lang.perl Subject: Re: unexec() with perl Message-ID: <4116.275642e9@cc.helsinki.fi> Date: 30 Nov 90 11:30:49 GMT References: <312@pepper.rc.nokia.fi> <109153@convex.convex.com> Organization: University of Helsinki Lines: 38 In article <109153@convex.convex.com>, tchrist@convex.COM (Tom Christiansen) writes: > In article <312@pepper.rc.nokia.fi> stickler@rc.nokia.fi (Patrick Stickler RC 910) writes: >>Has anyone already patched perl with the GNU Emacs unexec() >>function in place of abort(). It seems that this would be the >>thing to do for the perl dist itself - it saves us from having >>to mess with undump! > > I have, and have run this way for maybe a year. > > If you look at PL40, if you -DUNEXEC you will get a function defined > called myunexec(), which is the code I wrote as a front end for unexec() > Whether it really sets things up right for YOUR architecture I don't know. > You will have to add unexec.c from the GNU distribution. It works for > me. I'm interested in hearing from others on their experiences. > > --tom One problem that arises is that anything later than PL37 won't compile under SCO XENIX/286. There are just too many changes after PL37 that haven't had time to sort themselves out on all platforms. Another problem is that I am no hacker. Could you (pleeeeease) suggest what steps would be necessary to incorporate your myunexec() function, the GNU unexec.c and PL37?? I have the PL40 dist, so I guess I'll just need to copy your myunexec() function to the PL37 dist, add the neccessary preprocessing commands for -DUNEXEC, and compile/link the GNU unexec.c into perl, right? I really wish Larry Wall would incorporate this 'stand-alone' feature as an official part of perl. It seems that *alot* of people want it. If you can help me (just a little) with this, I will be *very* grateful. ////////////////////////////////////////////////////////////////////// Patrick Stickler University of Helsinki stickler@cc.helsinki.fi ////////////////////////////////////////////////////////////////////// Brought to you by Super Global Mega Corp .com