java-native / jssc

Java library for talking to serial ports (with added build support for maven, cmake, MSVC)
https://discord.gg/RBsUfE9sX9
GNU Lesser General Public License v3.0
171 stars 53 forks source link

RISC-V support #143

Closed tresf closed 1 year ago

tresf commented 1 year ago

I wanted to start discussion about adding RISC-V support, specifically riscv64 support.

Toolchains
At time of writing this, riscv64 is supported as a native OS install for Debian "sid" (unstable) and Ubuntu 23.10. More helpful, probably, is the availability of a cross-compiler toolchain. There's some options: * Debian: https://wiki.debian.org/RISC-V#Pre-built_toolchains * Ubuntu: https://packages.ubuntu.com/search?keywords=gcc-riscv64-linux-gnu * Docker: https://github.com/drujensen/riscv-ubuntu * Clang/LLVM: https://stackoverflow.com/a/68583104/3196753

Tasks: