Created
October 18, 2009 06:58
-
-
Save lamberta/212583 to your computer and use it in GitHub Desktop.
save sbcl core as an executable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;save sbcl core as an executable | |
;;;http://www.sbcl.org/manual/Saving-a-Core-Image.html | |
(sb-ext:save-lisp-and-die "myexec" ;file name | |
:executable t ;create a standalone executable | |
:toplevel 'main ;function to run when core is resumed | |
:purify t) ;purifying gc to move dynamic objs to static space |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment