This is the mail archive of the
mailing list for the Cygwin project.
Re: Compiled program does nothing when executing it under Cygwin
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 11 Mar 2011 11:36:48 -0500
- Subject: Re: Compiled program does nothing when executing it under Cygwin
- References: <firstname.lastname@example.org> <email@example.com>
- Reply-to: cygwin at cygwin dot com
On 3/11/2011 10:09 AM, Mengsk wrote:
When checking for the 'cygwin1.dll' file in C:\cygwin\bin, I discovered that
there also was a file named 'cygwin1.dll.new' in there. I made a backup of
my cygwin1.dll, deleted it and renamed the 'cygwin1.dll.new' file to
'cygwin1.dll'. Then I recompiled my program and now everything works fine.
I have no idea what changed/renamed the files in the first place though...
'setup.exe' did this. You updated via 'setup.exe' but had some Cygwin
process(es) running when you did so. The 'cygwin' package needed updating but
the DLL cannot be replaced while it's in use. You should have received a
warning about this from 'setup.exe', giving you the option to shut down
the outstanding Cygwin process(es). 'setup.exe' will continue if you don't
shut down the process(es) but it will schedule the replacement of cygwin1.dll
at the next reboot. It names the new DLL that it will move into place
on reboot 'cygwin1.dll.new'. It then provides a message that you need to
reboot to complete the installation.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting annoying in email?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple