Skip to content

glibc support

Latest
Compare
Choose a tag to compare
@fwsGonzo fwsGonzo released this 22 Oct 19:16
· 75 commits to master since this release
0801d0f

It is now possible to use a RISC-V toolchain from your own distros packages.

sudo apt install gcc-12-riscv64-linux-gnu
cd engine
./build.sh --glibc

Now you can use the system-provided RISC-V GNU compiler suite, instead of having to build your own newlib-based toolchain. Everything works as before, but there are potential collisions with POSIX threads and microthreads. Choosing to use one or the other should be fine. In order to throw and catch exceptions, we must currently reside in a POSIX thread. Perhaps the best way forward then is to use regular threads, eg. std::thread and pthread.

Full Changelog: https://github.com/fwsGonzo/rvscript/commits/v0.10