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