On Sat, Jun 15, 2002 at 06:09:41PM -0800, James A. Crippen wrote:
> 
> I have a program consisting of several lisp files.  I can compile each
> file individually and load the whole bunch, which works well, but what
> I'd really like is a single compiled file containing the whole thing.
> I note that the CLX distributed with CMUCL comes from a whole bunch of
> files but is only a single file "library:subsystems/clx-library.x86f".
> So how do I go about making a similar one?

Compile them all at once, e.g., 
(compile-file '("file-1.lisp" "file-2.lisp" "file-3.lisp"))

You could also try:
(compile-file '("file-1.lisp" "file-2.lisp" "file-3.lisp") :block-compile t)

to try and take advantage of Python's block compilation optimizations.

The docstring on COMPILE-FILE is quite good, 
(documentation 'compile-file 'function) may be informative.

Gabe Garza 

Reply via email to