Environment

This part describes the environment variables used by the Assembler. Some environment variables are also used by other tools (e.g., Linker or Compiler), so consult also the respective documentation.

There are three ways to specify an environment:

Various parameters of the Assembler may be set in an environment using the environment variables. The syntax is always the same as the following listing shows:

Listing: Syntax for setting environment variables
Parameter: KeyName=ParamDef

The following listing shows a typical example of setting an environment variable.

Listing: Setting the GENPATH environment variable
GENPATH=C:\INSTALL\LIB;D:\PROJECTS\TESTS;/usr/local/lib;
/home/me/my_project

These parameters may be defined in several ways:

When looking for an environment variable, all programs first search the system environment, then the default.env (.hidefaults for UNIX) file and finally the global environment file given by ENVIRONMENT. If no definition can be found, a default value is assumed.

Note: The environment may also be changed using the -Env: Set environment variable assembler option.