1.7.2 TMP and TMPDIR environment variables for temporary file directories

The compilation tools use a temporary directory when processing files.

The environment variable name used to refer to this directory depends on the platform:

  • TMP on Windows platforms. 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.
  • TMPDIR on Red Hat Linux platforms. 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.

Non-ConfidentialPDF file icon PDF versionARM DUI0529M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.