UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 9189

Solaris - Setting the temporary variable in UNIX

Description

Keywords: Solaris, temp, variable, set, env

Urgency: Standard

General Description:

How do you set the temporary variable in UNIX to point to a location
other than the default /var/tmp?

解决方案

In UNIX, there is no global temporary variable setting as there is in
Windows. Instead, the temporary variable is controlled on a per program
basis. For the Xilinx tools, the location of the temporary file is
determined by the tempnam system call. By default, the Solaris tempnam
will use the /var/tmp directory, which may have considerably less space
than your standard partition. You can override the use of the default
directory by setting the environment variable TMPDIR to an alternate
directory which has more free space available.
AR# 9189
创建日期 05/01/2000
Last Updated 12/17/2001
状态 Archive
Type 综合文章