delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/23/00:37:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.2.0.9.2.20021222213004.01ef7bc8@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Sun, 22 Dec 2002 21:35:38 -0800
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: RE: Running cygwin built programs in Windows XP
In-Reply-To: <000001c2aa3f$408deda0$e9f3fea9@home7wuwb5xa1g>
References: <4 DOT 3 DOT 1 DOT 2 DOT 20021222143542 DOT 0267ac08 AT pop DOT rcn DOT com>
Mime-Version: 1.0

Pharas,

Larry is correct. You are not. Problems do occur with multiple copies of 
Cygwin1.dll on a system. We see it here all the time.

Cygwin relies on a shared memory segment and when there's more than one 
copy of the DLL on a given system, eventually a second one will get loaded, 
try to initialize itself and either fail or interfere with the one that's 
already loaded and initialized.

If you want to do this, it's no skin off our nose, but DON'T recommend that 
others do so.

Randall Schulz


At 20:53 2002-12-22, Pharas wrote:
>I meant to just copy it not move it outright, as far as unstability I have
>been using cygwin for quite a long time and have had no probs with this.
>Even when you upgrade the cygwin package and install it, it will ask you if
>you would like to remove the old dll from the system32 folder. Then you
>could just do a copy of the new one. That said you could just make a copy of
>it to the folder where your executable is it will work there to. Thanks for
>your time.
>
>                             Pharas
>
>-----Original Message-----
>From: Larry Hall (RFK Partners, Inc) [mailto:lhall AT rfk DOT com]
>Sent: Sunday, December 22, 2002 1:41 PM
>To: Pharas; cygwin AT cygwin DOT com
>Subject: RE: Running cygwin built programs in Windows XP
>
>Anyone who decides they want to do this is free to but it will invalidate
>their installation and make it unstable.  Future problems they may run into
>as a result will not be seriously entertained by this list (assuming said
>persons post to this list for help in those cases) until cygwin1.dll is
>put back where setup installed it.  For anyone wondering, copying
>cygwin1.dll to this directory or any other carries the same warning.
>
>Larry Hall                              lhall AT rfk DOT com
>RFK Partners, Inc.                      http://www.rfk.com
>838 Washington Street                   (508) 893-9779 - RFK Office
>Holliston, MA 01746                     (508) 893-9889 - FAX
>
>
>At 12:55 AM 12/22/2002, Pharas wrote:
> >Just stick cygwin1.dll in your windows\system32 folder.
> >
> >-----Original Message-----
> >From: John Seeliger [mailto:jseelige AT aaahawk DOT com]
> >Sent: Saturday, December 21, 2002 6:41 PM
> >To: cygwin AT cygwin DOT com
> >Subject: Running cygwin built programs in Windows XP
> >
> >How do I run a program that I built with gcc under Cygwin in Windows?  When
> >I try to run them, it says it can't find cygwin1.dll.
> >
> >--
> >John Seeliger


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

- Raw text -


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