This section lists environment variables that enable you to control the compilation and runtime environment.
See also the Oracle Developer Studio 12.6: OpenMP API User’s Guide for descriptions of environment variables related to OpenMP and automatic parallelization.
cc normally creates temporary files in the directory /tmp. You can specify another directory by setting the environment variable TMPDIR to the directory of your choice. However, if TMPDIR is not a valid directory, cc uses /tmp. The –xtemp option has precedence over the TMPDIR environment variable.
$ TMPDIR=dir; export TMPDIR
% setenv TMPDIR dir