Technical data
Target Language Compiler
2-51
As an example, the command line
tlc –r Demo.rtw –v grt.tlc
specifies that Demo.rtw should be read and used to process grt.tlc in verbose 
mode.
Filenames and Search Paths
All target files have the .tlc extension. By default, block-level files have the 
same name as the 
Type of the block in which they appear. You can override the 
search path for target files with your own local versions. The Compiler finds all 
target files along this path. If you specify additional search paths with the 
–I 
switch of the 
tlc command or via the %addincludepath directive, they will be 
searched after the current working directory, and in the order in which you 
specify them.
Target Language Debug Mode
When you initiate the debug mode via the –d switch of the tlc command, the 
Compiler produces a 
.log file for every target file used. The .log file contains 
usage count information regarding how many times each line is encountered 
during execution.
–d[n|g|o]
Specifies the level and type of debugging. By default, 
debugging is off (
–do). –d defaults to –dn, or normal 
mode debugging, and 
–dg is generate mode debugging.
–aident=expr
Specifies an initial value for some parameters; 
equivalent to the 
%assign command. Use this to control 
template generation by querying its value.
Table 2-5: Target Language Compiler Switches (Continued)
Switch Meaning










