You can customize your system environment by specifying paths where the compiler searches for special files such as libraries, include files, and configuration files. The Intel® C++ Compiler supports the environment variables listed in the following table:
| Environment Variable |
Description |
|---|---|
| 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 |
| TMP TMPDIR TEMP |
Specifies the location for temporary files. If none of these are specified, the compiler stores temporary files 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 also supports the GNU environment variables listed in the following table:
| Environment Variable |
Description |
|---|---|
| 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 |