paul@uunet.uu.net (Paul Hudson) (03/17/89)
TeX does this to get preloaded format files, on lots of machines. That might be a good place to start. Paul Hudson Snail mail: Monotype ADG Email: ...!ukc!acorn!moncam!paul Science Park, paul@moncam.co.uk Milton Road, "Sun Microsysytems: Cambridge, The Company is Arrogant (TM)" CB4 4FQ [[ Well, it does it in a very special way: TeX is written to expect such dumping and restarting. The techniques it uses are not applicable in the general case. For one, the "undumped" executable will start again at the main entry point. This isn't quite what the original poster had in mind. --wnl ]]