Subject: Re: /var/tmp vs gcc
To: Matthias Scheler <tron@lyssa.owl.de>
From: Jon Morby <jon@fido.net>
List: current-users
Date: 10/05/1997 12:57:45
> In article <199710041720.NAA13521@zippy.bernstein.com>,
> 	maximum entropy <entropy@zippy.bernstein.com> writes:
> > GCC will respect a TMP environment variable ...
> 
> AFAIK it respects "TMPDIR".

Looking at the sources, it would appear to try the following ... (from
cc/gcc.c)

  base = choose_temp_base_try (getenv ("TMPDIR"), base);
  base = choose_temp_base_try (getenv ("TMP"), base);
  base = choose_temp_base_try (getenv ("TEMP"), base);

So it tries the DOS, Windows, and Unix versions.

> 
> -- 
> Matthias Scheler                                http://home.owl.de/~tron/
> 
-- 
Jon Morby                                  mail: jon@fido.net
Fidonet/Internet Gateway                   http: www.fido.net