This demo is a bit different, this one assembles once and then runs on RVController, on riscv64 Linux, and on LBPHacker's R4 computer[1], no modification needed. You will need a riscv64-linux-gnu toolchain to build this. Your distro might ship one, check there before building your own. If you do build your own, you probably just need binutils. Platform-specific notes: R4: Load it at any address you want, nothing special needed, terminal base address is assumed to be 0x10000000 RVController: At least for me it wants to link at 0x100b0, you can relocate it or just add a bit of extra RAM and use setpc before starting riscv64 Linux: No special handling needed