CCL:SAVE-APPLICATION by default just dumps a heap image, which is
used with the CCL kernel (this kernel/image division is found in
other lisps too, such as SBCL). This image can't be run without
the separate kernel file.

To get CCL to dump an executable image, you can request that the
kernel be prepended to the image.
---
 make-image.lisp.in |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/make-image.lisp.in b/make-image.lisp.in
index 9f0d882..03fdbe4 100644
--- a/make-image.lisp.in
+++ b/make-image.lisp.in
@@ -44,9 +44,7 @@
   (asdf:oos 'asdf:load-op 'stumpwm))
 #+openmcl
 (progn
-  (ccl:save-application "stumpwm" :toplevel-function (lambda ()
-                                              (stumpwm:stumpwm)
-                                              (ccl:quit))))
+  (ccl:save-application "stumpwm" :prepend-kernel t :toplevel-function 
#'stumpwm:stumpwm))
 
 ;;; ECL
 
-- 
1.6.6



_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Reply via email to