Subject: Re: How to compile lisp
From: (Rob Warnock)
Date: Sun, 23 Mar 2003 06:04:20 -0600
Newsgroups: comp.lang.lisp
Message-ID: <>
Nils Goesche  <> wrote:
| Jim Morrison <> writes:
| > I load my file into lisp (lisp -load myfile.lisp) ...
| Or, if you only want to execute one program from the Unix
| command line, try putting
|   (format t "~&Hello, world!")
|   (fresh-line)
|   (finish-output)
|   (quit)
| into a file, then compile it as above and run the program with
|   cmucl -init baz.x86f
| or some such.

Of course, that will print this:

    % cmucl -init baz.x86f
    ; Loading #p"/home/you/baz.x86f"
    Hello, world!
If you want to get rid of that sometimes-unfortunate message  ;-}  ;-}
(e.g., when you're piping the output somewhere else), try this

    % cmucl -noinit -eval '(setf *load-verbose* nil)' -load baz.x86f
    Hello, world!


p.s. Or when you get around to reading the documentation about how
to build your own customized CMUCL images (look at "lib/config.lisp"),
you can just build one with *LOAD-VERBOSE* defaulted to NIL (along
with a bunch of other verbosity vars).

Rob Warnock, PP-ASEL-IA		<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607