stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[STUMP] [PATCH 1/4] Fixing make-image.lisp for CCL


From: Adlai Chandrasekhar
Subject: [STUMP] [PATCH 1/4] Fixing make-image.lisp for CCL
Date: Sat, 26 Dec 2009 15:35:41 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]