Answer the question
In order to leave comments, you need to log in
How to compile Lisp file to exe?
How do I compile a Common Lisp file into an exe or .deb package? What development environment should I use for this? I have Allegro CL and newLisp installed now, so far I can't figure it out, I'm just starting to learn Lisp.
Answer the question
In order to leave comments, you need to log in
I think that the above list of commands will help you
https://www.cs.utexas.edu/users/qr/algy/allegro-co...
Live Compilation Example: An example of using a log system is a short program that loads a log package and prints out a few log messages.
1. We are talking about SBCL and Linux.
2. There are different ways to compile, this one was the first one that worked for me.
3. The compiled program is made in the form of a package with something like this asd file
#+sb-core-compression
(defmethod asdf:perform ((o asdf:image-op) (c asdf:system))
(uiop:dump-image (asdf:output-file o c) :executable t :compression t))
(defsystem "simple-log/example"
:class :package-inferred-system
:depends-on (....); usual dependences
:build-operation "program-op"
:build-pathname "example.bin"
:entry-point "simple-log/example:main"
:description "a compilable example for simple-log"
:version 0.1
:components ((:file "example")))
sh make.sh --with-sb-core-compression
~/local/bin/sbcl --quit --eval "(asdf:make :simple-log/example)"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question