delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/07/07:53:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
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: <Pine DOT LNX DOT 4 DOT 21 DOT 0008071141510 DOT 381-100000 AT bitstorm DOT vc-graz DOT ac DOT at>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <Pine.LNX.4.21.0008071141510.381-100000@bitstorm.vc-graz.ac.at>; 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019