Created
February 5, 2017 13:09
-
-
Save komamitsu/3b1dc3bfc67a5dbea1458fbcb3e4c8aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[komamitsu@potato mtrace]$ pwd | |
/Users/komamitsu/src/openjdk/jdk/src/share/demo/jvmti/mtrace | |
[komamitsu@potato mtrace]$ clang -I${JAVA_HOME}/include -I${JAVA_HOME}/include/darwin -I../agent_util -I../java_crw_demo -c ../agent_util/agent_util.c ../java_crw_demo/java_crw_demo.c *.c | |
[komamitsu@potato mtrace]$ clang -dynamiclib -L${JAVA_HOME} -shared -o libmtrace.so *.o | |
[komamitsu@potato mtrace]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment