This article describes how to assemble a cross-compiler gcc toolchain to build RiscV binaries on x86_64, and then running them in qemu. Possibly you can find some clues in there.
1 Like
This article describes how to assemble a cross-compiler gcc toolchain to build RiscV binaries on x86_64, and then running them in qemu. Possibly you can find some clues in there.