[ab] lispbuilder with win32 sbcl 1.0 part 2, making a deliverable exe

Justin Heyes-Jones justinhj at gmail.com
Sat Dec 2 10:14:48 CST 2006


Thanks to Anthony Fairchild for the CLISP HOWTO, this one was straightforward.

I used Anthony's main function, the line you need to create the exe is
as shown comented out below. This creates a whopping 25Mb exe for the
mandelbrot demo.

(defun main1()
  "Mandelbrot: main entry function"
  (cffi:define-foreign-library sdl
                               (t (:default "SDL")))
  (cffi:use-foreign-library sdl)
  (sdl:with-init ()
                 (sdl-examples:mandelbrot))
  (sb-ext:quit))


;  (sb-ext:save-lisp-and-die "test.exe" :purify t :toplevel #'main1
:executable t)


More information about the application-builder mailing list