Sun Studio 12 Update 1: C++ User's Guide

A.2.92 –temp=path

Defines the directory for temporary files.

This option sets the path name of the directory for storing the temporary files which are generated during the compilation process. The compiler gives precedence to the value set by -tempover the value of TMPDIR.

A.2.92.1 See also

–keeptmp