The simplest way to save your new image is to use the Application Builder tool in the LispWorks IDE. Start the Application Builder as described in the
Common LispWorks User Guide
, enter the path of your
save-image
script in the
Build script:
pane, and press the
Build the application using the script
button.
Alternatively you can run LispWorks in a command interpreter and pass your
save-image
script in the command line as shown below.
mymac$ "/Applications/LispWorks 5.1/LispWorks.app/Contents/MacOS/lispworks-5-1-0-macos-universal" -build save-image.lisp
Your new application bundle is saved in
/Applications/LispWorks 5.1/My LispWorks.app
C:\temp\>"C:\Program Files\LispWorks\lispworks-5-1-0-x86-win32.exe" -build save-image.lisp
Your new LispWorks image is saved in
C:\temp\my-lispworks.exe
.
linux:/tmp$ lispworks-5-1-0-x86-linux -build save-image.lisp
Your new LispWorks image is saved in
/tmp/my-lispworks
.
For other platforms and for 64-bit LispWorks the image name varies from that shown, but the principle is the same.