Ralf Mattes <rm@mh-freiburg.de> wrote:
+---------------
| And what about SBCL?
| > (defun main ()
| (format T "Hello word!~%")
| (quit :unix-status 0))
|
| > (save-lisp-and-die "simpleapp" :executable t :toplevel (function main))
+---------------
In recent versions of CMUCL for FreeBSD & Linux,
this can be done in almost exactly the same way:
(save-lisp "simpleapp" :executable t :init-function (function main))
And, yes, it packages up the whole Lisp image into the executable.
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607