This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: standalone cygwin programs that use "/tmp" don't work
- From: Warren Young <warren at etr-usa dot com>
- To: Cygwin-L <cygwin at cygwin dot com>
- Date: Tue, 13 Aug 2002 07:39:24 -0600
- Subject: Re: standalone cygwin programs that use "/tmp" don't work
- References: <3D588AFB.9D17EC0D@cs.waikato.ac.nz>
(duplicate post -- I sent the previous one to cygapps-l by mistake)
John R. McPherson wrote:
>
> Other than forcing users to create a "X:\\tmp" directory (or doing this
> during installation) or modifying the source code for these 3rd-party
> packages, is there any way to get the dll to use windows's %TEMP%
> or %TMPDIR% environment variables?
You need to look into the way Cygwin handles the mount table. For your
purposes, it would probably be enough to simply set up a mount for /tmp
to point to the user's %TEMP% during your normal installation process.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/