This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: static vs. shared linking
- From: David Stacey <drstacey at tiscali dot co dot uk>
- To: cygwin at cygwin dot com
- Date: Tue, 31 Mar 2015 00:02:43 +0100
- Subject: Re: static vs. shared linking
- Authentication-results: sourceware.org; auth=none
- References: <5510A9AB dot 7020607 at tiscali dot co dot uk> <5511AF73 dot 9070607 at tiscali dot co dot uk> <20150325090453 dot GB3017 at calimero dot vinschen dot de> <551339E4 dot 60705 at tiscali dot co dot uk> <20150330105529 dot GJ29875 at calimero dot vinschen dot de> <5519A0E1 dot 6020707 at tiscali dot co dot uk> <395196416 dot 20150330233026 at yandex dot ru>
On 30/03/2015 21:30, Andrey Repin wrote:
Greetings, David Stacey!
Back to the matter in hand - I don't suppose you had thoughts on why my
simple application crashes when linked as shared, but works fine when
linked statically?
Probably I've missed this bit before, forgive me if I did, but have you
rebased your library after linking?
Thank you for your reply. I tried this two different ways:
- Running 'rebase -s' on cygcrash_library.dll;
- Moving 'cygcrash_library.dll' into /usr/bin and triggering a full
rebase using 'rebase-trigger full' and then running setup-x86_64.exe.
Sadly, neither of these made any difference - the application still
crashed :-(
Thanks for the suggestion anyway,
Dave.
--
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