II.2.4 Linux Environment

To specify a search path for include files, an optional environment variable ASEM51INC can be defined:

1.)   For bash, ksh, and sh:

    ASEM51INC=<path>
    export ASEM51INC

2.)   For csh, tcsh, and zsh:

    setenv ASEM51INC <path>

<path> may be any number of directories separated by ':' characters. Be sure that the whole definition doesn't contain any blanks or tabs!
If ASEM51INC is defined, the assembler searches the specified <path> for include files that can neither be found in the working directory, nor in the search path specified with the --includes option.
The <path> directories will be searched from left to right.


Examples:

1.)   bash:
      ASEM51INC=/usr/local/include/asem-51:~/micros/mcs51/inc
      export ASEM51INC
If include files can neither be found in the working directory, nor in the --includes path (if specified), the assembler searches next /usr/local/include/asem-51 and finally ~/micros/mcs51/inc.
2.)   csh:
      setenv ASEM51INC /usr/local/include/asem-51
If ASEM51INC is defined as above in .login, the assembler finally searches the directory /usr/local/include/asem-51 for include files.

The maximum length of <path> is limited to 255 characters.