I'm new to CL and I can't figure out how to build binaries from my simple project.
I've created app.asd file with following contents:
(asdf:defsystem game
:version "0.0.1"
:components ((:file "package")
(:file "main")))
package.lisp contents
(defpackage :app
(:use :common-lisp :asdf)
(:export :start))
and main.lisp
(in-package :app)
(defun start (args)
(format t "Hello"))
I've also symlinked app.asd to ~/quicklisp/quicklisp/app.asd, and when I execute
(require 'asdf)
(asdf:operate 'asdf:load-op :app)
it looks like something compiles, but I can't find binaries/object files anywhere.
How do I build my project so I can copy it to another machine without CL installed and run?
I'm using sbcl 1.1.13 and asdf 3.0.2 on osx.
(sb-ext:save-lisp-and-die :executable t …). Thenasdf:makeabstracts it for each implementation (the function name will differ on CCL, ECL…). See lispcookbook.github.io/cl-cookbook/scripting.html#with-asdf