From owner-freebsd-questions Mon Dec 18 14:13:10 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA23279 for questions-outgoing; Mon, 18 Dec 1995 14:13:10 -0800 (PST) Received: from vegemite.Stanford.EDU (vegemite.Stanford.EDU [171.65.84.158]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA23272 for ; Mon, 18 Dec 1995 14:13:07 -0800 (PST) Received: (hlew@localhost) by vegemite.Stanford.EDU (8.7.1/8.6.4) id OAA27015; Mon, 18 Dec 1995 14:12:50 -0800 (PST) Date: Mon, 18 Dec 1995 14:12:47 -0800 (PST) From: Howard Lew To: gpalmer@westhill.cdrom.com cc: Terry Lambert , questions@FreeBSD.org Subject: Re: undump program In-Reply-To: <952.819322668@westhill.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org Precedence: bulk On Mon, 18 Dec 1995 gpalmer@westhill.cdrom.com wrote: > Terry Lambert wrote in message ID > <199512182105.OAA12378@phaeton.artisoft.com>: > > What is it you want? Checkpoint/restart? There are packages for > > that, but they certainly don't involve undumping core files. > > Check SunOS... there is an undump type program (forget it's name) > which allows you to take something like perl or (AFAIR) smalltalk, and > run them with a piece of code to compile. Once compiled, the compiled > code calls a fn which causes a core dump. You can then undump this to > get the ``pre-compiled'' version of the code. > > If memory serves, this is how LaTeX for SPARC is produced (you run TeX > with latex.tex loaded or whatever, and then dump it). > > Gary Yes, that's the undump program I want. Thanks. I found it on SunOS, but it would be great if I can get it for FreeBSD. (I don't have the sources) Here's the whole rationale for what I want to do: 1) Take a long perl program 2) Intentionally dump the perl program to become an executable binary 3) Run the binary at a later time