Environment Variables
You can customize your environment by specifying paths where the compiler
can search for special files such as libraries and include files.
- LD_LIBRARY_PATH specifies
the location for shared objects.
- PATH specifies the directories
the system searches for binary executable files.
- ICCCFG specifies the configuration
file for customizing compilations when invoking the compiler using icc.
- ICPCCFG specifies the configuration
file for customizing compilations when invoking the compiler using icpc.
- Several environment variables are supported to specify
the location for temporary files. The compiler searches for the following
variables in the order specified: TMP, TMPDIR,
and TEMP. If none of these variables are found,
temporary files are stored in /tmp.
- IA32ROOT (IA32-based systems)
points to the directory containing the bin, lib, include and substitute
header directories.
- IA64ROOT (Itanium®-based systems)
points to the directory containing the bin, lib, include and substitute
header directories.
The Intel C++ Compiler supports the following GNU environment variables:
- CPATH - Path to include directory
for C/C++ compilations
- C_INCLUDE_PATH - Path include
directory for C compilations
- CPLUS_INCLUDE_PATH - Path
include directory for C++ compilations.
- LIBRARY_PATH - The value
of LIBRARY_PATH is a colon-separated list of directories,
much like PATH.
- DEPENDENCIES_OUTPUT - If
this variable is set, its value specifies how to output dependencies for
Make based on the non-system header files processed by the compiler. System
header files are ignored in the dependency output.
- SUNPRO_DEPENDENCIES - This
variable is the same as DEPENDENCIES_OUTPUT, except
that system header files are not ignored.
The Intel®
C++ Compiler installation includes shell scripts that you can use to set
environment variables. See Invoking the Compiler
from the Command Line for more information.