Texas Instruments TMS470R1x Barcode Reader User Manual


 
Setting Up the Code Generation Environment
4-5
Setting Up the Code Generation Tools on an HP Workstation
4.3 Setting Up the Code Generation Environment
Before or after you install the code generation tools, you can define environ-
ment variables that set certain software tool parameters you normally use. An
environment variable
is a special system symbol that you define and assign
to a string. A program uses this symbol to find or obtain certain types of
information.
When you use environment variables, default values are set, making each
individual invocation of the tools simpler because these parameters are auto-
matically specified. When you invoke a tool, you can use command-line op-
tions to override many of the defaults that are set with environment variables.
The code generation tools use the following environment variables:
A_DIR
C_DIR
C_OPTION
TMP
You can set up the environment variables o the command line or in your .login
or .cshrc file (for C shells) or .profile file (for Bourne or Korn shells). To set up
these environment variables in your system initialization file, enter the same
commands that you would enter on the command line in the file.
In addition to setting up environment variables, you must modify your path
statement. The following subsections describe how to modify your path state-
ment and how to define the environment variables that the code generation
tools use.