This is the mail archive of the
mailing list for the Cygwin project.
Re: Why does ldd not show cyg*.dll in its output?
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 16 May 2016 12:50:34 -0500
- Subject: Re: Why does ldd not show cyg*.dll in its output?
- Authentication-results: sourceware.org; auth=none
- References: <3AD694B4-17D4-4963-88FD-435AD4DD36D5 at etr-usa dot com>
On 2016-05-16 10:42, Warren Young wrote:
$ ldd `which ls`
ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd16fb0000)
KERNEL32.DLL => /c/WINDOWS/system32/KERNEL32.DLL (0x7ffd16b80000)
KERNELBASE.dll => /c/WINDOWS/system32/KERNELBASE.dll (0x7ffd13f50000)
$ /bin/ldd /bin/ls
ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x77c90000)
kernel32.dll => /cygdrive/c/Windows/system32/kernel32.dll
KERNELBASE.dll => /cygdrive/c/Windows/system32/KERNELBASE.dll
cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000)
cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3d4e00000)
cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3d8b50000)
According to Microsoftâs Dependency Walker tool, the output should also list
cygwin1.dll and cygintl-8.dll, at minimum. Since it seems happy to chase
dependencies from kernel32.dll to the other two, which are not explicit
dependencies of ls.exe, it should also list cygiconv-2.dll, via cygintl.
Bonus points if the output changes to a tree view, so the indirect dependencies are clear.
ldd is meant to be compatible with the Linux tool. As Andrey mentioned,
use cygcheck instead if you want that layout.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple