Personally I use PATH="/usr/x86_64-w64-mingw32/sys-root/mingw/bin:$PATH" ldd DEADBEEF.exe
which is not exactly what you would like but still better than simply launching ldd. чт, 7 мар. 2019 г. в 11:27, Matthias Apitz <g...@unixarea.de>: > El día Wednesday, March 06, 2019 a las 11:20:05AM -0800, David Grayson > escribió: > > > Your experience matches mine: the Cygwin ldd utility does not work > properly > > with MinGW DLLs and prints a bunch of question marks. There is an ntldd > > utility you can use instead. If it's not on your path already, I'm not > > sure the best way to obtain it. I just use MSYS2, because it's > basically a > > fork of Cygwin that makes it easy to install MinGW compilers and all the > > other open source utilities you would need to build software on Linux, > > including ntldd. > > > > --David > > David, thanks for your reply. Does this mean I could move to a Linux system > with Mingw-w64 to produce the DLL for Windows there? This would be the > first > option as I do know less as nothing about Windows, but 30++ years about > UNIX :-) > > This also would allow to produce the DLL together with the Java software > on our Jenkins server hosted on Linux... > > Re/ my problem "Can't find dependent libraries." from the Java DLL loader, > I found > a thread in stackoverflow > > https://stackoverflow.com/questions/6092200/how-to-fix-an-unsatisfiedlinkerror-cant-find-dependent-libraries-in-a-jni-pro/6092576#6092576 > with a hint to a tool which analyses the DLL for missing dependencie (etc.) > Below is the (very short) list of missing pieces which I can't see on my > Windows file system. > > Any ideas? > > Thanks > > matthias > > $ cut -c1-100 short.txt > ********************************| Module List > |********************************* > * > * > * Legend: D Delay Load Module ? Missing Module 6 64-bit > Module * > * * Dynamic Module ! Invalid Module > * > * E Import/Export Mismatch or Load > Failure * > * > * > > ******************************************************************************** > > Module File Time Stamp > Link Time Stamp File Size > ----- --------------------------------------------- ---------------- > ---------------- ---------- > [ ? ] LIBGCC_S_SEH-1.DLL Error opening file. > Das System kann die angege > [ ? ] LIBSTDC++-6.DLL Error opening file. > Das System kann die angege > [D? ] API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL Error opening file. > Das System kann die angege > [D? ] API-MS-WIN-CORE-WINRT-L1-1-0.DLL Error opening file. > Das System kann die angege > [D? ] API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL Error opening file. > Das System kann die angege > [D? ] API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL Error opening file. > Das System kann die angege > [D? ] DCOMP.DLL Error opening file. > Das System kann die angege > [D? ] IESHIMS.DLL Error opening file. > Das System kann die angege > [ 6] API-MS-WIN-CORE-THREADPOOL-L1-1-0.DLL 09.01.2019 04:06 > 09.01.2019 04:07 4.608 > [D 6] DWMAPI.DLL 09.07.2015 18:58 > 09.07.2015 18:53 82.944 > [DE6] ESENT.DLL 11.03.2011 07:33 > 11.03.2011 07:22 2.565.632 > ... > > > -- > Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ > +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub > October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, > Druschba > instead of Nazis, to live instead of to survive. > > > _______________________________________________ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > -- Байкалов Пётр _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public