Clozure CL save-application
Tue May 19 16:44:30 CEST 2009 Tobias Rautenkranz <tobias@rautenkranz.ch>
* Clozure CL save-application
diff -rN -u old-doc/smoke.xml new-doc/smoke.xml
--- old-doc/smoke.xml 2014-10-30 06:55:20.000000000 +0100
+++ new-doc/smoke.xml 2014-10-30 06:55:20.000000000 +0100
@@ -200,12 +200,23 @@
</para>
</caution>
</section>
+
<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.
+For near instant startup you can save an image. Since saving C++ instances is not supported,
+it is best to save the image immediately after loading the packages.
+</para>
+
+<note><para>
+Initializing the Smoke bindings when the image is loaded is implementation dependent. It is implemented
+for SBCL and Clozure CL.
+</para></note>
+
+<section><title>SBCL</title>
+<para>To save an image in SBCL you can use:
+<ulink url="http://www.sbcl.org/manual/Saving-a-Core-Image.html"><code>sb-ext:save-lisp-and-die</code></ulink>
</para>
+
<section><title>Bundle</title>
<para>
To create a bundle containing an SBCL image and the required C wrappers libraries you can use
@@ -217,4 +228,25 @@
</section>
</section>
+<section><title>Clozure CL</title>
+<para>
+To save an image in CCL
+<ulink url="http://ccl.clozure.com/manual/chapter4.7.html#Saving-Applications">
+<code>ccl:save-application</code></ulink> is usually used.
+</para>
+<caution>
+<para>
+To allow the image to find the C wrapper libraries, they have to be installed with:
+<informalexample>
+<programlisting>
+sudo make install
+</programlisting>
+</informalexample>
+run in the <filename>smoke/</filename> and <filename>qt/</filename> directory.
+</para>
+</caution>
+</section>
+
+</section>
+
</chapter>