Doesn't `(save-lisp-and-die :executable t)` [1] create static binaries?
I had a look at one of my SBCL-made binaries on MacOS, it shows this:
▶ otool -L lisp-enc
lisp-enc:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.100.5)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
EDIT: GraalVM takes several minutes to generate binaries, and the binary may not behave the same as the JVM-based runtime, so I wouldn't recommend using that.[1] http://www.sbcl.org/manual/#Function-sb_002dext-save_002dlis...