Compiler Options

The Compiler provides a number of Compiler options that control the Compiler's operation. Options consist of a minus sign or dash ( -), followed by one or more letters or digits. Anything not starting with a dash or minus sign is the name of a source file to be compiled. You can specify Compiler options on the command line or in the COMPOPTIONS variable. Each Compiler option is specified only once per compilation.

Command line options are not case-sensitive, e.g., -Li is the same as -li.

Note: It is not possible to coalesce options in different groups, e.g., - Cc - Licannot be abbreviated by the terms - Cci or - CcLi.

Another way to set the compiler options is to use the RS08 Compiler Option Settings dialog box.

Note: Do not use the COMPOPTIONS environment variable if the GUI is used. The Compiler stores the options in the project.ini file, not in the default.env file.
Figure 1. Option Settings Dialog Box
Option Settings Dialog Box

The RS08 Compiler Message Settings dialog box, shown in the following figure, may also be used to move messages ( -Wmsg options).

Figure 2. RS08 Compiler Message Settings Dialog Box
RS08 Compiler Message Settings Dialog Box

The major sections of this chapter are: