Skip to content

Commit

Permalink
Add downloading binutils instructions for the macos. (apache#12804)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsop-479 authored Nov 14, 2023
1 parent 117e8d3 commit 27c8e3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions help/jmh.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Otherwise you are stuck wrestling down full dependencies of OpenJDK (metal etc)
Also you must run benchmarks as root to use dtrace, but it works.

$ git clone --depth 1 https://github.com/openjdk/jdk/
$ curl -f https://ftp.gnu.org/gnu/binutils/binutils-2.38.tar.gz | tar -zxf -
$ curl -fo jdk/src/utils/hsdis/binutils/Makefile https://raw.githubusercontent.com/openjdk/jdk/3c7ae1225f0d5575fd927a9b76fb40dc30e208cd/src/utils/hsdis/Makefile
$ vi jdk/src/utils/hsdis/binutils/Makefile, change SOURCE = hsdis.c to SOURCE = hsdis-binutils.c
$ vi jdk/src/utils/hsdis/binutils/hsdis-binutils.c, change #include "hsdis.h" to #include "../hsdis.h"
Expand Down

0 comments on commit 27c8e3f

Please sign in to comment.