delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/06/17:48:48

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
Date: Wed, 6 Aug 2003 17:48:35 -0400
From: Christopher Faylor <cgf-idd AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: What is the minimum needed to run gtar?
Message-ID: <20030806214835.GC23728@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3D5E0EA708C5DD44B7575859D366728C2DC29D AT svr-orw-exc-02 DOT wv DOT mentorg DOT com> <3F3150CF DOT 1F053532 AT acm DOT org> <20030806212944 DOT GA472 AT scripps DOT edu>
Mime-Version: 1.0
In-Reply-To: <20030806212944.GA472@scripps.edu>
User-Agent: Mutt/1.4.1i

On Wed, Aug 06, 2003 at 02:29:44PM -0700, David A. Case wrote:
>On Wed, Aug 06, 2003, David Rothenberger wrote:
>> 
>> You can find out what DLLs an executable needs by running cygcheck on it.
>
>Note that this may not give a complete list.  Consider rxvt.exe:
>
>quine% cygcheck rxvt.exe
>Found: .\rxvt.exe
>Found: C:\cygwin\bin\rxvt.exe
>rxvt.exe
>  .\cygwin1.dll
>    C:\WINDOWS\System32\KERNEL32.dll
>      C:\WINDOWS\System32\ntdll.dll
>  C:\WINDOWS\System32\USER32.dll
>    C:\WINDOWS\System32\GDI32.dll
>      C:\WINDOWS\System32\ADVAPI32.dll
>        C:\WINDOWS\System32\RPCRT4.dll
>
>
>This might suggest that only cygwin1.dll is needed (besides the windows
>stuff).  However, continuing (in X, with DISPLAY set):
>
>quine% cd /usr/X11R6/bin
>quine% mv libX11.dll libX11.dll~
>quine% back
>/bin
>quine% ./rxvt.exe
>failed to load libX11.dll
>
>Putting libX11.dll~ back to its original name again allows rxvt.exe to run
>correctly.  Thus in this case (at least) cygcheck is not finding _all_ of the
>dll's that are needed.

Think "dlopen()".

cgf

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019