mingw64-x86_64-gcc-core(only needed for
mingw64-i686-gcc-core(only needed for
C:\cygwin64\home\username, by default).
binutils-2.24.tar.bz2. This should result in a directory named
binutils-2.24(or whatever the latest version is) in your Cygwin home directory.
hsdisdirectory (found in
src\share\tools) to your Cygwin home directory.
hsdis-amd64.dll, enter make OS=Linux MINGW=x86_64-w64-mingw32 'AR=$(MINGW)-ar' BINUTILS=~/binutils-2.24. To build
hsdis-i386.dll, enter make OS=Linux MINGW=i686-w64-mingw32 'AR=$(MINGW)-ar' BINUTILS=~/binutils-2.24. In either case, replace 2.24 with the binutils version you downloaded.
The DLL can now be installed by copying it from
hsdis\build\Linux-i586 to your JRE’s
Note that binutils and OpenJDK use incompatible licenses. As I understand it, this means that it is legal to combine them for personal use, but not to distribute the result. Because of this, I cannot provide prebuilt DLLs.
Bonus tip: if you prefer Intel ASM syntax to AT&T, specify -XX:PrintAssemblyOptions=intel alongside any other PrintAssembly options you use.