X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Message-ID: <49E5E18F.9030906@byu.net> Date: Wed, 15 Apr 2009 07:30:55 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, fergus Subject: Re: Building static executables References: <49E5DDDA DOT 4040506 AT bonhard DOT uklinux DOT net> In-Reply-To: <49E5DDDA.4040506@bonhard.uklinux.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----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 AT byu DOT 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/