delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/23/10:41:01

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Dominique MICOLLET <miko AT thetis DOT u-bourgogne DOT fr>
Message-Id: <199904231446.QAA07318@thetis.u-bourgogne.fr>
Subject: Re: Executing a program on a non-cygwin PC
To: cygwin AT sourceware DOT cygnus DOT com
Date: Fri, 23 Apr 1999 16:46:44 +0200 (MET DST)
In-Reply-To: <19990423120741.5097.rocketmail@web119.yahoomail.com> from "Earnie Boyd" at Apr 23, 99 05:07:41 am

> 
> Dominique,
> 
> Make sure that there is a /tmp directory.  Set the CYGWIN environment variable
> with appropriate values.  Make sure that the cygwin1.dll is on the PATH
> especially if the program is forking a process.
There was not a tmp directory. I make one, but the problem still remains.
Concerning the cygwin1.dll being in the PATH, I tried without success.

More interesting is the fact that I can execute the program on the first PC 
(withc cygwin installed) in a Dos Box (I dont no the exact term for that because
the system is a french one) for which neither PATH or CYGWIN are defined : the 
program executes correctly as soon as there is a copy of cygwin1.dll in the same
folder than the executable file. If I remove this copy the executable prompts a 
windows complaining about the lack for the dll in the standard locations.

On the second PC (without cygwin installed), when the dll is in the same folder
than the executable, the programs starts correctly (I get some trace messages) 
then crashes. If the dll is not present I get the complaining window.
This suggests me that the dll is correctly seen.

I suspect the installation procedure is writing something in the system, but I
not clearly see what. 

I think I will try to install cygwin on the second PC, and then remove it piece by piece until the problem appears again.



> 
> Question: Are the two NT stations identical in device and os level?  It has
> been noted that sp4 gives people headaches.
The two stations are absolutely identical in hardware and software (the only 
difference is the name :-)) : Windows NT4 Service Pack 3

off topic :
It is the first time I use a mailing list : is it normal I receive the messages two times ?

      Cordialement

Dominique MICOLLET       Email   : Dominique DOT Micollet AT u-bourgogne DOT fr
Laboratoire LE2I    Universite de Bourgogne
9, Avenue Alain SAVARY  BP 400        Tel     : +33/(0)3-80-39-59-27
21011 DIJON CEDEX       FRANCE        Tfx     : +33/(0)3-80-39-68-69

--
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