> Date: Mon, 20 Nov 2017 13:53:16 +0100 (CET) > From: Angelo Graziosi <angelo...@libero.it> > > Just out of curiosity, given the Emacs executable, is there a way to know the > MSYS2/MinGW64 DLLs it needs? On MSYS2 I tried: > > ldd Emacs/bin/emacs-27.0.50.exe > ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffab5f30000) > KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7ffab49b0000) > [...] > WINMMBASE.dll => /c/WINDOWS/SYSTEM32/WINMMBASE.dll (0x7ffab0620000) > IPHLPAPI.DLL => /c/WINDOWS/SYSTEM32/IPHLPAPI.DLL (0x7ffab18a0000) > bcrypt.dll => /c/WINDOWS/SYSTEM32/bcrypt.dll (0x7ffab1de0000) > > but it prints only Windows DLLs not all the others which come from > MSYS2/MinGW64...
Like this: objdump -x emacs.exe | fgrep "DLL Name:" However, if you are looking for the optional image libraries, libxml2, etc., you won't find them this way: Emacs loads them dynamically at run time by using explicit LoadLibrary calls. Maybe something like this: stringgs emacs.exe | fgrep -i ".dll" ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Msys2-users mailing list Msys2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msys2-users