Under Unix and Windows, run mzc from a shell, passing in flags and arguments on the command line.
Under MacOS, double-click on the mzc launcher application with the Command key pressed, then provide arguments in the command line dialog that appears. (Close the MzScheme application first if it is already running, since mzc is itself a MzScheme-based application.) If the Command key is not pressed while mzc is started, the command-line dialog will not appear. If a file is dragged onto the mzc icon, then the command-line will contain the file's path; this is useful for compiling a Scheme file directly to an extension. If a file is dragged onto the mzc icon, additional command-line argument can be provided by holding down the Command key, but the arguments will go after the file name, which is almost never useful (since the order of command-line arguments is important).
In this manual, each example command line is shown as follows:
mzc --extension --prefix macros.ss file.ssTo run this example under Unix or Windows, type the command line into a shell (replacing mzc with the path to mzc on your system, if necessary). Under MacOS, launch mzc with the Command key pressed, and enter everything after mzc into the dialog that appears.
Simple on-line help is available for mzc's command-line arguments by running mzc with the -h or --help flag.