What is the equivalent of Linux's ldd on windows? [closed]

Here is Dependency Walker.

http://dependencywalker.com/


The dumpbin command can be useful for many things, although in this case dependency walker is probably a little more verbose.

dumpbin /dependents some.dll

Example output:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Static Analysis Tools>dumpbin /dependents StanPolicy.dll

Dump of file StanPolicy.dll

File Type: DLL

Image has the following dependencies:

mscoree.dll

Summary

    2000 .reloc
    2000 .rsrc
   1E000 .text

or the GNU tool :

i586-mingw32msvc-objdump -p  *.exe    | grep 'DLL Name:'

If you're using wine and not real Windows, you can use WINEDEBUG=+loaddll wine <program>.