home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / ultrix / 8099 < prev    next >
Encoding:
Internet Message Format  |  1992-11-05  |  1.7 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!agate!doc.ic.ac.uk!uknet!rsre!breeze!heading
  2. From: heading@breeze.rsre.mod.uk (Anthony J.R. Heading)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: undump for Ultrix 4.[3,2[A,C]]
  5. Message-ID: <Bx8wE6.2LH@breeze.rsre.mod.uk>
  6. Date: 5 Nov 92 13:34:21 GMT
  7. References: <1992Nov4.202043.6463@psc.edu>
  8. Reply-To: heading%hermes.mod.uk@relay.mod.uk
  9. Organization: Defence Research Agency
  10. Lines: 31
  11.  
  12. In article <1992Nov4.202043.6463@psc.edu> boone@psc.edu (Jon Boone) writes:
  13. >
  14. >Folks,
  15. >
  16. > Is there a working undump somewhere?  I've gotten an undump before (I think
  17. > it was from gatekeeper), but I wasn't able to make it work with perl
  18. > scripts --- the perl scripts, once undumped, just proceeded to dump
  19. > core! :(
  20.  
  21. If you compile perl with the UNEXEC option, the perl undump will
  22. call the unexec() as supplied with emacs. If you watch how emacs
  23. compiles on whatever machine you're using, and then change the link
  24. line in the perl makefile to be the same (obviously with the perl .o's
  25. instead of the emacs ones!) it seems to work fine. From memory, it
  26. was something like below, on my Decstation.
  27.  
  28. ld -D 800000 /usr/lib/crt0.o <object files> unexmips.o
  29.  
  30. I didn't find that pre-crt0.o or lastfile.o were required with perl - 
  31. they simply seem to define reference points within the executable
  32. image that have entirely sensible defaults.
  33.  
  34. If anyone would care to explain how it works, I'd like to know,
  35. but even if not, it works.
  36.  
  37. Anthony
  38.  
  39. ------------------------------------------------------------
  40. Defence Research Agency, St. Andrews Road, Malvern, Worcs, UK.
  41. heading@hermes.mod.uk            Work: +44 684 896066
  42. heading@ccint1.rsre.mod.uk       Home: +44 684 563596
  43.