Creating or obtaining an executable image
This topic may be avoided by reading the
After obtaining the ACL2 sources, the next step is to produce an executable image. Proceed according to one of the four sections below, and after reading that section, continue by reading the topic, see using-ACL2.
This website
contains links to ACL2 executables and packages. Each
See also pre-built-binary-distributions.
We assume you have obtained ACL2, described in obtaining-ACL2, but you have not obtained a pre-built image. Change to the directory containing the ACL2 sources and execute the command
make LISP=<your_lisp>
where
This will create executable
The time taken to carry out this process depends on the host Lisp and the host processor but may well be under a minute. The size of the resulting binary image is dependent on which Lisp was used, but it may be on the order of a couple hundred megabytes or so.
This
It may be best to use this option only if you are using a Common Lisp on which you cannot save an image (e.g., a trial version of a commercial lisp).
Next we describe how to create a binary image containing ACL2 without using
the `
Your Common Lisp should be one of those listed in installation-requirements. Stand in the directory where you have downloaded ACL2.
(load "init.lisp") (in-package "ACL2") (compile-acl2) ; essentially a no-op if the Lisp is CCL or SBCLThe commands above may, depending on the host Lisp, compile the ACL2 sources and create compiled object files in the current directory. (But they should be run even for Lisps that do not compile the ACL2 sources.) Below, we assume that saved images have extension
(load "init.lisp") (in-package "ACL2") (save-acl2 (quote (initialize-acl2)) "saved_acl2")This will load ACL2 source files (possibly compiled) into Lisp and then bootstrap ACL2 by reading and processing the source files, concluding by saving an image. Exit Lisp now. Subsequent steps will put the image in the right place.
rename saved_acl2 saved_acl2.bat
You may be able to avoid this section by downloading a pre-built binary distribution; see pre-built-binary-distributions, and also see “Pre-built images” above.
Otherwise, see windows-installation for information on installing ACL2 on Windows systems.