Environment

This chapter describes all the environment variables that the compiler uses. Some environment variables are also used by other tools. Consult the tool manuals for specific variable use information.

The major sections in this chapter are:

Use environment variables to set environment parameters. Specify your environment using one of the following methods:

Use the following syntax for setting an environment variable:

  Parameter:  <KeyName>=<ParamDef> 
  
Note: Normally no white space is allowed in the definition of an environment variable.
Listing: Setting the GENPATH Environment Variable
GENPATH=C:\INSTALL\LIB;D:\PROJECTS\TESTS;/usr/local/lib;
/home/me/my_project

Define parameters using one of several methods:

When looking for an environment variable, all programs first search the system environment, then the default.env file, and finally the global environment file defined by ENVIRONMENT. If no definition is found, the tools assume a default value.

Note: You can also change the environment using the -Env option ( -Env: Set Environment Variable).
Note: Make sure that there are no spaces at the end of any environment variable declaration.