Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /pages/trunk/doc/heap2exec/index.html
ViewVC logotype

View of /pages/trunk/doc/heap2exec/index.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2616 - (download) (as text) (annotate)
Fri May 25 23:03:44 2007 UTC (14 years, 4 months ago) by dbm
File size: 1542 byte(s)
edited heap2exec page, eliminated a couple more bell-labs urls
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
  <head>
    <title>heap2exec</title>
  </head>

  <body>
<blockquote>
<h2>heap2exec</h2>
<p>
heap2exec is a simple utility for building stand-alone
executables from SML/NJ heap images.
<p>
heap2exec wraps the binary smlnj runtime image and an smlnj heap image
into one executable image.
<p>
heap2exec is a shell script that makes use of the heap2asm tool.
The heap2asm tool is installed in the smlnj bin directory when
running config/install.sh if heap2asm is specified in config/targets.
heap2asm is not installed by default because it only works for
ppc-unix (Mac OS X) and x86-unix (Mac OS X, linux, etc.)
<p>
The source code for heap2asm is in the file 
<a href="http://www.smlnj.org/dist/working/current/heap2asm.tgz">
heap2asm.tgz</a> in the release distributions.
<p>

<h3>Directions</h3>
Given an heap image, say foo.ppc-unix, produced by either 
<a href="../SMLofNJ/pages/smlnj.html#SIG:SML_OF_NJ.exportFn:VAL">
SMLofNJ.exportFn</a>
or <A HREF="../SMLofNJ/pages/smlnj.html#SIG:SML_OF_NJ.exportML:VAL">
SMLofNJ.exportML</A> or by the ml-build command (see CM manual),
running
<pre>
heap2exec foo.ppc-unix foo
</pre>
will produce an executable file foo.
<p>
Currently heap2exec is supported on ppc-unix (Mac OS X), and x86-unix.

</blockquote>
    <hr>
    <address><a href="mailto:dbm@cs.uchicago.edu">Dave MacQueen</a></address>
<!-- Created: Wed Feb 10 14:20:13 EST 1999 -->
<!-- hhmts start -->
Last modified: Fri May 25 18:02:52 CDT 2007
<!-- hhmts end -->
  </body>
</html>

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0