This is the mail archive of the 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


Letting folks know what you did is fine but it's also the responsibility of 
this list to let everyone know which practices are very error-prone and not
supported by this list.  While we would prefer that everyone was aware of 
the best practices for Cygwin installations, we recognize that this isn't 
ever going to be the case.  So certain suggestions, like yours, will occur
even though such changes are very highly discouraged and folks making those
changes won't receive much in the way of real support for any issues they 
may post until the change is reverted.  But I think the point here is simply
that while it's fair for you to make such a suggestion, you should point out
that such a change is not supported by this list.  If you didn't know this 
to be the case, that's OK.  Now you do.  It's our obligation to inform you 
and others of this policy.

To answer your question about the paths and cygwin1.dll, yes, if cygwin1.dll
is in your Windows (system preferably) path, then any Cygwin program anywhere
on your system can be run any time and the DLL will always be found.


At 02:51 AM 12/24/2002, Pharas wrote:
>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:

Unsubscribe info:
Bug reporting:

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