This section lists the environment variables that let you control the compilation and runtime environment.
Specifies the number of processors available to the program for multiprocessor execution. If the target machine has multiple processors, the threads can map to independent processors. Running the program leads to the creation of two threads that execute the parallelized portions of the program.
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.
If you use a Bourne shell, type:
$ TMPDIR=dir; export TMPDIR
If you use a C shell, type:
% setenv TMPDIR dir