On 19. 8. 2016 14:55, Mario Emmenlauer wrote:
> #> dlltool -z /tmp/somedll.def --export-all-symbol '/c/Program 
> Files/Java/jdk1.8.0_101/jre/bin/server/jvm.dll'
> 
> C:\msys2\mingw64\bin\dlltool.exe: C:/Program 
> Files/Java/jdk1.8.0_101/jre/bin/server/jvm.dll: no symbols
> 
> Indeed the generated def-file has only a header, no symbols.
> Can you please suggest what I'm doing wrong? I'm on the mingw64
> MSYS2 shell and its 64bit Java.

It seems `nm` and `dlltool` don't recognize exports in non-mingw libraries. 
`objdump` recognizes it. I suggest you check with the #mingw-w64 project if 
this is expected behavior or a known bug, or if the fault lies in our (MSYS2) 
builds.

-- 
David Macek

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to