X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 17 Mar 2011 09:48:04 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Compiled program does nothing when executing it under Cygwin
Message-ID: <20110317084804.GD10697@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <31125708.post@talk.nabble.com> <4D7A3C4B.3040100@sbcglobal.net> <20110311154820.GL7064@calimero.vinschen.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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

