static vs. shared linking

David Stacey drstacey@tiscali.co.uk
Tue Mar 31 00:50:00 GMT 2015


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



More information about the Cygwin mailing list