This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Compiled program does nothing when executing it under Cygwin
On Fri, Mar 11, 2011 at 5:36 PM, Larry Hall (Cygwin) wrote:
> 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).
Unfortunately, the warning is not displayed if setup.exe is run with
the -M switch :(
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple