Target Language Compiler    

Command Line Arguments

To call the Target Language Compiler, use

This table lists the switches you can use with the Target Language Compiler. Order makes no difference. Note that if you specify a switch more than once, the last one takes precedence.

Table 5-4: Target Language Compiler Switches 
Switch
Meaning
-r filename
Reads a database file (such as a .rtw file). Repeat this option multiple times to load multiple database files into the Target Language Compiler. Omit this option for target language programs that do not depend on the database.
-v[number]
Sets the internal verbose level to <number>. Omitting this option sets the verbose level to 1.
-Ipath
Adds the specified directory to the list of paths to be searched for TLC files.
-Opath
Specifies that all output produced should be placed in the designated directory, including files opened with %openfile and %closefile, and .log files created in debug mode. To place files in the current directory, use
-O (use the capital letter O, not zero).
-m[number]
Specifies the maximum number of errors to report is <number>. If no -m argument appears on the command line, it defaults to reporting the first five errors. If the <number> argument is omitted on this option, 1 is assumed.
-x0
Parse TLC file only (do not execute).
-lint
Performs some simple checks for performance and deprecated features.
-d[a|n|g|o]
Specifies the level and type of debugging. By default, debugging is off (-do). -d defaults to -dn, or normal mode debugging, -dg is generate mode debugging and -da switches on the assertion evaluation.
-a[ident]=expr
Specifies an initial value, <expr>, for the identifier, <ident>, for some parameters; equivalent to the %assign command.

As an example, the command line

specifies that Demo.rtw should be read and used to process grt.tlc in verbose mode.


 Target Language Functions Filenames and Search Paths