X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 17 Mar 2011 09:48:04 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Compiled program does nothing when executing it under Cygwin Message-ID: <20110317084804.GD10697@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <31125708 DOT post AT talk DOT nabble DOT com> <4D7A3C4B DOT 3040100 AT sbcglobal DOT net> <20110311154820 DOT GL7064 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20110311154820.GL7064@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Mar 11 16:48, Corinna Vinschen wrote: > On Mar 11 15:14, Greg Chicares wrote: > > On 2011-03-11 14:56Z, Mengsk wrote: > > > > > [...previously-compiled program stopped working after partial Cygwin upgrade...] > > > > > > "Cannot find entry point _feinitialise in dynamic link library cygwin1.dll" > > > > Try rebuilding your program from scratch. It sounds like the cygwin1.dll you > > now have (after the upgrade) is a different version than the program expects. > > Sounds like an executable built under 1.7.8 trying to be run under an > earlier version. > > Dave, is it really necessary to call _feinitialise in crt0.c? > > We usally have new entry points in newer versions of Cygwin, and we > don't guarantee that applications build under newer DLLs will not run > under older DLLs. However, that doesn'usually mean that these > applications never work, only if they use one of the new entry points. > > With _feinitialise called from crt0.c apps build under 1.7.8 can never > work under earlier DLLs. So my question is, isn't it sufficient to call > _feinitialise from _dll_crt0? I had a private talk with Dave and it's no problem to move the _feinitialise call into the DLL itself. I applied a patch to Cygwin. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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