This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
1.3.2 Catch-22 in tmpnam/tmpfile with gcc -mno-cygwin
- To: cygwin at cygwin dot com
- Subject: 1.3.2 Catch-22 in tmpnam/tmpfile with gcc -mno-cygwin
- From: "John W. Kennedy" <jwkenned at bellatlantic dot net>
- Date: Wed, 30 May 2001 11:25:41 -0400
- Reply-To: jwkenne at attglobal dot net
At present, gcc option -mno-cygwin is incompatible with tmpfile and
tmpnam. When -mno-cygwin is used, at runtime all temporary files are
put into directory "/tmp", which is incompatible with no-cygwin
operation unless a writable "x:\tmp" directory happens to exist, where
x: is the current drive.
The obvious fix would make -mno-cygwin executables sensitive to a
standard Windows environment variable such as TMP, or at least to an
ad-hoc environment variable.
--
John W. Kennedy
(Working from my laptop)
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple