Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Chris Faylor Date: Mon, 7 Aug 2000 07:52:07 -0400 To: cygwin AT sources DOT redhat DOT com Subject: Re: the directory named TEMP or TMP Message-ID: <20000807075206.B12032@cygnus.com> Reply-To: cygwin AT sources DOT redhat DOT com Mail-Followup-To: cygwin AT sources DOT redhat DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: ; from crf@sbox.tu-graz.ac.at on Mon, Aug 07, 2000 at 11:55:20AM +0200 On Mon, Aug 07, 2000 at 11:55:20AM +0200, Martin Pirker wrote: > >Chris Faylor wrote: >>I *really* don't understand the question. >> >>Why don't you just create /tmp? >> >>bash >>mkdir /tmp >> >>is this really that difficult a problem? > >my post says: >>Given: Unix program ported/__cross__compiled with cygwin to run underWin. >>-> Executable + cygwin1.dll on target machine, _no_ full cygwin >>environment. > >I don't have any bash under Win! >I don't have a cygwin environment on the target Win machine! >I don't know know where /tmp files go to, when there's only the >crosscompiled .exe (which needs just cygwin1.dll?) and the cygwin1.dll, >_nothing else_ from cygwin on the target Win machine. > >No Win Cygwin environment is used in creation of the .exe. it's >crossompiled from Linux, and no full Cygwin environment is present when >the program is used on Win, just the .dll. > >Now more clear ? (I hope I am, my english isn't .. umm... well ) > >Because of crosscompile and no Windows box in reach I have a hard time >trying different things, the code just fails on creation of temp files on >execution on a Win box (when I get to it)... >:( There is no way around it. You'll have to create a /tmp directory. mkdir("/tmp", 0777); cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com