Open philtomson opened 3 years ago
First problem was that I was using a riscv-gnu-toolchain built in 2018 (I think that was causing the linking problem for some reason).
Then the problem was that I had built riscv-gnu-toolchain wrong using the default params to the configure script. I built it using the following configure params and things worked fine (after removing all of the previously built toolchain - I ended up doing 'rm -rf /opt/riscv' to make sure.
When building the riscv-gnu-toolchain you should configure with:
$ ./configure --prefix=/opt/riscv --with-arch=rv32i --with-abi=ilp32
(might be good to add a note in the README.md at the part about needing to build the riscv-gnu-toolchain)