Invoking OpenMCL

The lisp kernel (ccl/ppccl under LinuxPPC, ccl/dppccl under DarwinPPC) can be invoked as:

LinuxPPC


% ppccl [options]
% ppccl image-name

DarwinPPC


% dppccl [options]
% dppccl image-name

The --help option will summarize the syntax of the options recognized by the current release.

Under LinuxPPC, the image-name defaults to the lisp kernel pathname with the case of its last component inverted (e.g., ccl/PPCCL).

Under DarwinPPC, the image-name defaults to the lisp kernel pathname with the string ".image" appended (e.g., ccl/dppccl.image). Since Darwin/MacOS X installations use HFS+ filesystems - which are case-insensitive - by default, the case-inverting conventions used under Linux wouldn"t work very well.

The OpenMCL shell script passes all of its arguments to the lisp kernel. For a variety of reasons, it's probably simpler to use that shell script than it is to invoke the kernel directly.

Some (hopefully) useful options

The exact set of command-line arguments accepted by OpenMCL may vary slightly from release to release; "openmcl --help is hopefully a definitive (if somewhat terse) summary of the options accepted by the current implementation. Some of those options aren't well documented elsewhere and are described below.

The --load and --eval options can each be provided multiple times. They're executed in the order specified on the command line, after the init file is (possibly) loaded and before the toplevel read-eval-print loop is entered.