This is the mail archive of the cygwin@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: Running cygwin built programs in Windows XP


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@rfk.com]
Sent: Sunday, December 22, 2002 1:41 PM
To: Pharas; cygwin@cygwin.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@rfk.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@aaahawk.com]
>Sent: Saturday, December 21, 2002 6:41 PM
>To: cygwin@cygwin.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/


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