This is the mail archive of the cygwin@cygwin.com 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: What is the minimum needed to run gtar?


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.

True, but the use of LoadLibrary/dlopen is rare (and that is why cygcheck is
unable to detect the dependency in this case).

Max.


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