Running cygwin built programs in Windows XP

Tue Dec 24 04:03:00 GMT 2002

Hey I was just letting him know how I did it. Never said it was the correct
way to do it, because I never knew about the shared memory thing. Ok then I
have a question, if you can't use -mno-cygwin to compile you just need to
make sure the path is set correctly and it will work?

-----Original Message-----
From: Randall R Schulz [] 
Sent: Sunday, December 22, 2002 11:36 PM
Subject: RE: Running cygwin built programs in Windows XP


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
>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) []
>Sent: Sunday, December 22, 2002 1:41 PM
>To: Pharas;
>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                    
>RFK Partners, Inc.            
>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 []
> >Sent: Saturday, December 21, 2002 6:41 PM
> >To:
> >Subject: Running cygwin built programs in Windows XP
> >
> >How do I run a program that I built with gcc under Cygwin in Windows?
> >I try to run them, it says it can't find cygwin1.dll.
> >
> >--
> >John Seeliger

Unsubscribe info:
Bug reporting:

More information about the Cygwin mailing list