User`s guide

The Real-Time Workshop User Interface
3-7
System Target File
Use the System target file fieldtospecifythetypeofcodeandtargetforwhich
you are generating code. For a complete table of available targets, see “Targets
Available from the System Target File Browser” on page 3-13. After you have
selected the system target file, you can specify options for the Target Language
Compiler (TLC). The common options are shown in the table below.
After you have selected the system target file, you can specify code generation
options for the Target Language Compiler (TLC). The most common options
are available through the
Code Generation Options dialog box; see “Options
Button” on page 3-15 for a description of this feature. You can configure
additional options, however, by appending -
aVariableName=value in the
System target file field or including the line
%assign VariableName = value
in the system target file itself.
Table 3-1: Target Language Compiler Options
Option Description
Ipath Adds path to the list of paths in which to search
for target files (
.tlc files).
m[N|a] Maximum number of errors to report when an
error is encountered (default is 5). For example,
m3 specifies that at most three errors will be
reported. To report all errors, specify
ma.
d[g|n|o] Specifies debug mode (generate, normal, or off).
Default is off. When
dg is specified, a .log file
is create for each of your TLC files. When debug
mode is enabled (i.e., generate or normal), the
Target Language Compiler displays the number
of times each line in a target file is encountered.
aVariable=expr Assigns a variable to a specified value (i.e.,
creates a parameter value pair) for use by the
target files during compilation.