blob: b6f4878ff330fb53a97c62e2e516b234dc9cc0ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
The scripts in this directory are meant to be run as standalone
executables. They must be made into executable SBCL image files.
From a terminal, enter this directory and type:
sbcl --load <lisp-file>
where lisp file is a file with a .lisp extension. For example:
sbcl --load failover.lisp
This will load the lisp file and leave you at the REPL. The prompt
will look like:
*
At the REPL, type the following lisp form:
(in-package :dns-admin)
and hit Enter. Then type:
(sb-ext:save-lisp-and-die "<exe-file>" :toplevel #'run :executable t)
where <exe-file> is the name you want for the new executable core
file. For example:
(sb-ext:save-lisp-and-die "failover.exe" :toplevel #'run :executable t)
and hit Enter.
When `save-lisp-and-die' finishes, SBCL will exit and you will be back
at a terminal prompt.
|