delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/11/10:48:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 11 Mar 2011 16:48:20 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Compiled program does nothing when executing it under Cygwin
Message-ID: <20110311154820.GL7064@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>
MIME-Version: 1.0
In-Reply-To: <4D7A3C4B.3040100@sbcglobal.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
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 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?


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

- Raw text -


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