3 ms·
Is there an equivalent of ldd for Win32?
by throwaway2037 2y ago
Is there an equivalent of ldd for Win32?
- MatejKafka 2y ago`dumpbin /dependents` gives similar information. I use the following PowerShell function to get output that's a bit closer to ldd: function ldd($ExePath) { $Dumpbin = gi "C:\Program Files*\Microsoft Visual Studio\*\*\VC\Tools\MSVC\*\bin\HostX64\x64\dumpbin.exe" $Done = $false & $Dumpbin /dependents $ExePath | ? {$_.StartsWith(" ")} | % {$_.Substring(2)} | % {if ($Done) {} elseif ($_ -eq "Summary") {$Done = $true} else {$_}} | % {if ($_.StartsWith(" ")) {$_.Substring(2)}} }
- dgfitz 2y agoThis is really neat. Thank you for sharing.
- Dwedit 2y agoThere is actual the ldd available on Win32, along with gcc, objdump, etc... It comes with the mingw or msys suite.
- IshKebab 2y agoAlso is there an equivalent to this for Linux?