www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
X-Info: | This message was accepted for relay by |
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication | |
X-Trace: | UmFuZG9tSVaIGeQwWegM3nBljQR8XVeFPH3yAdttS10wwPu7cFGNLD+HNdzpnIaR |
Message-ID: | <3F330930.5040405@cygwin.com> |
Date: | Thu, 07 Aug 2003 22:21:36 -0400 |
From: | Larry Hall <cygwin-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 |
X-Accept-Language: | en-us, en |
MIME-Version: | 1.0 |
To: | Brian Dessent <brian AT dessent DOT net> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: What is the minimum needed to run gtar? |
References: | <Pine DOT GSO DOT 4 DOT 44 DOT 0308061742080 DOT 5132-100000 AT slinky DOT cs DOT nyu DOT edu> <3F317C37 DOT 4626CFE AT dessent DOT net> |
In-Reply-To: | <3F317C37.4626CFE@dessent.net> |
Brian Dessent wrote: > Igor Pechtchanski wrote: > > >>Yes, you're quite correct. Cygcheck will only list the DLLs that the >>program is statically linked to (that is, it's linked to the import >>libraries). If the program uses dlopen() or LoadLibrary() to load the >>library (like rxvt does with libX11/libW11), cygcheck will not list that >>library in the list of dependences. A quick and dirty test for that would >>be "strings program.exe | egrep -i 'dlopen|loadlibrary'". Finding out >>exactly which libraries are loaded with this mechanism won't be as easy >>(because in some cases the DLL name may be constructed dynamically). >>Strace might help with that somewhat, at least for dlopen() calls. > > > I'm pretty sure the "Dependency Walker" program can trace these dynamic > runtime library loading situations. http://www.dependencywalker.com/ Yep, looks like it can if you ask it to. Convenient. Wonder why MS didn't distribute this (or similar) version with some VC++ 6 SP... -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |