You copied the Doc URL to your clipboard.

TMP and TMPDIR environment variables for temporary file directories

The compilation tools use a temporary directory when processing files:

  • On Windows platforms, the environment variable TMP is used to specify the directory to be used for temporary files. If TMP is not defined, or if it is set to the name of a directory that does not exist, temporary files are created in the current working directory.

  • On Red Hat Linux platforms, the environment variable TMPDIR is used to specify the directory to be used for temporary files. If TMPDIR is not set, a default temporary directory, usually /tmp or /var/tmp, is used.

TMP and TMPDIR are typically set up by a system administrator. However, it is permissible for you to change them.

Was this page helpful? Yes No