Save core image
Thu May 14 14:56:16 CEST 2009 Tobias Rautenkranz <tobias@rautenkranz.ch>
* Save core image
hunk ./introduction.xml 24
-<section><title>Limitation</title>
+<section><title>Limitations</title>
hunk ./introduction.xml 30
- <listitem><para>10 seconds startup time (for <package>qt.examples</package>) on a
+ <listitem><para>10 seconds startup time<footnote>
+ <para>
+ Using an image it is around 1 second.
+ (see <xref linkend="core-image"/>)
+ </para></footnote>
+ (for <package>qt.examples</package>) on a
hunk ./introduction.xml 38
- <listitem><para>Saving a core image is not supported.</para></listitem>
hunk ./smoke.xml 203
+<section id="core-image"><title>Saving a Core Image</title>
+<para>
+For near instant startup under SBCL you can save an image with
+<ulink url="http://www.sbcl.org/manual/Saving-a-Core-Image.html"><code>sb-ext:save-lisp-and-die</code></ulink>.
+Saving C++ instances is not supported.
+</para>
+<section><title>Bundle</title>
+<para>
+To create a bundle containing an SBCL image and the required C wrappers libraries you can use
+<methodname>smoke:save-bundle</methodname>.
+The bundle is created using <ulink url="http://megastep.org/makeself/">makeself</ulink>.
+See [_$_]
+<ulink url="http://tobias.rautenkranz.ch/darcsweb/darcsweb.cgi?r=cl-smoke/qt.examples;a=headblob;f=/make-bundle.sh">make-bundle.sh</ulink> in <package>:qt.examples</package> for an example.
+</para>
+</section>
+</section>