delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/14/04:41:02

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4D7A4FA0.10201@cygwin.com>
References: <31125708 DOT post AT talk DOT nabble DOT com> <31125827 DOT post AT talk DOT nabble DOT com> <4D7A4FA0 DOT 10201 AT cygwin DOT com>
Date: Mon, 14 Mar 2011 09:40:49 +0100
Message-ID: <AANLkTi=Uvq5UV0bzx+K7GnRzKgDrr85pv_R+hhyB+y+r@mail.gmail.com>
Subject: Re: Compiled program does nothing when executing it under Cygwin
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 fin=
e.
>>
>> I have no idea what changed/renamed the files in the first place though.=
..
>
> 'setup.exe' did this. =A0You updated via 'setup.exe' but had some Cygwin
> process(es) running when you did so. =A0The 'cygwin' package needed updat=
ing
> but
> the DLL cannot be replaced while it's in use. =A0You 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
--=20
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 Torv=
alds
"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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019