Programing

Windows에서 Linux의 ldd에 해당하는 것은 무엇입니까?

lottogame 2020. 10. 12. 07:06
반응형

Windows에서 Linux의 ldd에 해당하는 것은 무엇입니까?


Windows에서 Linux의 ldd에 해당하는 것은 무엇입니까?


여기 Dependency Walker가 있습니다.

http://dependencywalker.com/


또는 GNU 도구 :

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

dumpbin이 경우 종속성 워커가 좀 더 장황 할 수 있지만 명령은 여러 가지에 유용 할 수 있습니다.

dumpbin /dependents some.dll

PowerShell로 할 수 있습니다.

PS> 시작 프로세스 -PassThru calc.exe | Get-Process-모듈

   크기 (K) 모듈 이름
   ------- ----------
       908 calc.exe
      1700 ntdll.dll
      1148 kernel32.dll
       432 KERNELBASE.dll
     13856 SHELL32.dll
           ...

wine실제 Windows가 아닌 사용중인 경우 WINEDEBUG=+loaddll wine <program>.


이제 lddCygwin에 있습니다. 매우 오래된 Cygwin 버전이있는 경우 cygcheck.


이 작업을 수행하는 Windows Developer 방법은 dumpbin /dependents source.exe. Visual Studio가 설치되어있는 경우 여기에서 찾을 수 있습니다 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\dumpbin.exe..


Windows 용 Git의 최신 버전은 ldd를 포함한 많은 유용한 Unix 명령을 에뮬레이트하는 Git BASH 라는 패키지로 제공됩니다 .

찾을 수있는 라이브러리 만보고하는 것으로 보입니다. 따라서 이것을 사용하여 사용 된 라이브러리의 위치에 대한 개요를 얻을 수 있지만 누락 된 라이브러리는 없습니다.

참고 URL : https://stackoverflow.com/questions/1993673/what-is-the-equivalent-of-linuxs-ldd-on-windows

반응형