This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: standalone cygwin programs that use "/tmp" don't work


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]