7 (sb-ext:save-lisp-and-die
"lice" :toplevel
(lambda ()
8 ;; asdf requires sbcl_home to be set, so set it to the value when the image was built
9 (sb-posix:putenv
(format nil
"SBCL_HOME=~A" #.
(sb-ext:posix-getenv
"SBCL_HOME")))
16 ;; asdf needs to be loaded. try putting (load "/path/to/asdf.lisp") in your .clisprc file
18 (asdf:oos
'asdf
:load-op
:lice
)
22 (ext:saveinitmem
"lice" :init-function
(lambda ()
25 :executable t
:keep-global-handlers t
:norc t
:documentation
"Lisp Computing Environment"))
28 #-
(or sbcl clisp
) (error "This lisp implementation is not supported.")