:executable t tells to build an executable instead of an (many of them are made implementation-portable in other libraries). Sb-ext is an SBCL extension to run external processes. It is a matter of calling save-lisp-and-die with the :executable argument to T: (sb-ext:save-lisp-and-die #P"path/name-of-executable" :toplevel #'my-app:main-function :executable t) How to build (self-contained) executables is, by default, implementation-specific (seeīelow for portable ways). Building a self-contained executable With SBCL - Images and Executables Note that we can similarly build self-contained executables for web apps. Including its libraries, the names of all symbols, information aboutĪrgument lists to functions, the compiler, the debugger, source code Start-up times are near to zero, specially with SBCL and CCL.īinaries size are large-ish. Theįinal user doesn’t need to install a Lisp implementation, he can run Self-contained executables, for the architecture they are built on. Lisp implementations differ in their processes, but they all create Using a program from a REPL is fine and well, but if we want toĭistribute our program easily, we’ll want to build an executable.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |