Set Other Environment Variables

Before using the compiler, ensure the following environment variables are set.


PATH Specifies the directory search path for the executable files of the compiler. Executables are in /opt/ibmcmp/vacpp/7.0/bin if installed to the default location
MANPATH Optionally specifies the directory search path for finding man pages. MANPATH must contain /opt/ibmcmp/vacpp/7.0/man/en_US before the default man path.
LD_LIBRARY_PATH Specifies the directory search path for dynamically loaded libraries. Used by the GNU linker at link time and at run time.
LD_RUN_PATH Specifies the directory search path for dynamically loaded libraries. Used at run time only.
LANG Specifies the national language for message and help files.

The LANG environment variable can be set to any of the locales provided on the system.

The national language code for United States English is en_US. If the appropriate message catalogs have been installed on your system, any other valid national language code can be substituted for en_US.

To determine the current setting of the national language on your system, use the both of the following echo commands:

echo $LANG

echo $NLSPATH
NLSPATH Specifies the path name of the message and help files.
PDFDIR Optionally specifies the directory in which the profile data file is created. The default value is unset, and the compiler places the profile data file in the current working directory. Setting this variable to an absolute path is recommended for profile-directed feedback.
TMPDIR Optionally specifies the directory in which temporary files are created. The default location, /tmp, may be inadequate at high levels of optimization, where paging and temporary files can require significant amounts of disk space.
Note:
The LANG and NLSPATH environment variables are initialized when the operating system is installed, and might differ from the ones you want to use.

Related Tasks

Set Environment Variables IBM Copyright 2003