6.1 About the Compiler

6.1.2 Setting Compiler options

You can control various aspects of compiling functions and files by using keyword arguments to the functionscompile andcompile-file. These arguments have default values that you can set by using the functioncompiler-options. Explicitly specifying a keyword option tocompile orcompile-file overrides the default value established by the functioncompiler-options for the specified compilation.

You can alter a keyword argument default by specifying a new value for the keyword. For example, the following expression tells the Compiler to suppress the messages produced when a file is compiled or loaded:

(compiler-options :file-messages nil)
When called with no arguments, the functioncompiler-options shows the current compiler arguments and their settings.

See the reference page for compiler-options for more information about keyword arguments.


The User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker