commit - d81441f07cb412d617cffa8a6d97361d67ca062e
commit + 14e6dfecc1b71d11f0928c46b24acb2d032ad3d6
blob - 460022550d8b8407bba927d030b0a4749730aee7
blob + 8807fbb2fc12251f027639c08235160b5cdcfdc2
--- README
+++ README
- sudo or doas (only for `make run`, see config.mk.*)
- wget or curl (only on Linux)
- clang (only on NetBSD, because the distribution gcc is too old)
+- gcc (only on FreeBSD/powerpc64, because the distribution clang is broken)
## Resources
- https://riscv.org/wp-content/uploads/2017/05/riscv-spec-v2.2.pdf
blob - 3638b0aa96da0d0ecade59d2ffcc1ea4c8370468
blob + cf822e57e5d54aaf87dbef6b47d57b28a6a3d5c8
--- config.mk.FreeBSD
+++ config.mk.FreeBSD
+CC != if [ "$$(uname -p)" = 'powerpc64' ]; then echo 'gcc'; else echo "${CC}"; fi
+CXX != if [ "$$(uname -p)" = 'powerpc64' ]; then echo 'g++'; else echo "${CXX}"; fi
SUDO = sudo
CFLAGS_OS =
LDFLAGS_OS = -static