On a 64 bit Ubuntu I've compiled the toolchain as instructed in its repo:
./configure --prefix=/opt/riscv --with-arch=rv32imc --with-cmodel=medlow --enable-multilib
make
When preparing to compile helloworld with
./cmake_configure.zeroriscy.gcc.sh
I get an error
riscv32-unknown-elf-gcc: error: unrecognized command line option '-m=32'
Did I do something wrong?
On a 64 bit Ubuntu I've compiled the toolchain as instructed in its repo:
When preparing to compile helloworld with
I get an error
Did I do something wrong?