This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building static executables


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Fergus on 4/15/2009 7:15 AM:
> Q1. Can anybody tell me why cygcheck /bin/rxvt.exe does not show
> libW11.dll as a dependency?

Because dlsym() allows one to have true dynamic dependencies, rather than
static dependencies on .dlls as recorded in the .exe.  The difference is
that a static .dll dependency makes the entire app to fail to load (if you
start the app from a cmd window, you'll get a popup box from the OS about
a missing dependency), whereas dlsym() allows the application to choose
how to gracefully handle load failures (rxvt chooses to tell you about the
missing dependency and exit, but at least rxvt was run by the OS).

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknl4Y8ACgkQ84KuGfSFAYAkiQCghIhOeprl5cYQp6wzKdCZtpPD
DFkAn1Amb5WTWF2sY4LzM76Jca9D2lBy
=nepq
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]