| Previous Section | Next Section | Table of Contents | Glossary | Index |
Given that you now have everything you need, do the following in a running Clozure CL to bring your Lisp system completely up to date.
? (ccl:rebuild-ccl :full t)
That call to the function rebuild-ccl
performs the following steps:
Deletes all fasl files and other object files in the
ccl directory tree
Runs an external process that does a
make in the current platform's kernel
build directory to create a new kernel
Does (compile-ccl t) in the running
lisp, to produce a set of fasl files from the “higher
level” lisp sources.
Does (xload-level-0 :force) in the
running lisp, to compile the lisp sources in the
“ccl:level-0;” directory into fasl files and
then create a bootstrapping image from those fasl
files.
Runs another external process, which causes the newly compiled lisp kernel to load the new bootstrapping image. The bootsrtrapping image then loads the “higher level” fasl files and a new copy of the platform's full heap image is then saved.
If all goes well, it'll all happen without user intervention and with some simple progress messages. If anything goes wrong during execution of either of the external processes, the process output is displayed as part of a lisp error message.
rebuild-ccl is essentially just a short
cut for running all the individual steps involved in rebuilding
the system. You can also execute these steps individually, as
described below.
| Previous Section | Next Section | Table of Contents | Glossary | Index |