Skip to content

Commit

Permalink
Merge pull request #9526 from ChengJin01/update_riscv_jdk11_doc
Browse files Browse the repository at this point in the history
Update the document related to RISC-V
  • Loading branch information
keithc-ca committed May 12, 2020
2 parents c14f6b2 + 542f2f8 commit 7cb2c32
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/build-instructions/Build_Instructions_V11.md
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ user_riscv@localhost's password: riscv
```
dnf install libX11-devel libXtst-devel libXt-devel libXrender-devel libXrandr-devel libXi-devel libXext-devel
dnf install cups-devel fontconfig-devel alsa-lib-devel freetype-devel #freetype might be skipped if already installed
dnf install libdwarf-devel #optional if the DDR is enabled for compilation on the target system
dnf install libdwarf-devel libstdc++-static #optional if the DDR is enabled for compilation on the target system
dnf install wget git autoconf automake #mostly used in the compilation on the target system
dnf install openssl-devel #optional if the OpenSSL support is required
```
Expand Down Expand Up @@ -1295,6 +1295,9 @@ e.g.
export JAVA_HOME=/<path_to>/<the_cross_built_jdk>
export PATH="$JAVA_HOME/bin:$PATH"
```
:bulb:
Please remove `/usr/lib64/ccache` from the PATH environment variable as `/usr/lib64/ccache/gcc` is not supported in the compilation of OpenJDK.

The boot JDK set up in `JAVA_HOME` is the cross-built jdk uploaded to Fedora after cross-compiled on your host system.
```
bash configure --disable-warnings-as-errors --with-freemarker-jar=/<path_to>/freemarker.jar
Expand Down

0 comments on commit 7cb2c32

Please sign in to comment.