Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jasontedor/1d81e8aeff7be870030fbdc24240a6bf to your computer and use it in GitHub Desktop.
Save jasontedor/1d81e8aeff7be870030fbdc24240a6bf to your computer and use it in GitHub Desktop.
Building hsdis-amd64 for JDK 10.0.1
wget http://hg.openjdk.java.net/jdk-updates/jdk10u/archive/750eb3c6f356.zip
unzip 750eb3c6f356.zip
cd jdk10u-750eb3c6f356/src/utils/hsdis
wget https://ftp.gnu.org/gnu/binutils/binutils-2.19.1.tar.bz2
bunzip2 binutils-2.19.1.tar.bz2
tar xf binutils-2.19.1.tar
make CFLAGS="-fPIC -Wno-implicit-fallthrough -Wno-error=unused-value -Wno-error=cast-function-type -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable" BINUTILS=binutils-2.19.1 ARCH=amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment