maikmerten / spu32

Small Processing Unit 32: A compact RV32I CPU written in Verilog
MIT License
63 stars 12 forks source link

After Downloading riscv-gnu-toolchain and than by giving make this error is coming. #3

Open sh-88 opened 1 year ago

sh-88 commented 1 year ago

--with-abi=ilp32 is not supported for ISA rv64imafdc make[1]: [Makefile:4549: configure-gcc] Error 1 make[1]: Leaving directory '/Projects/marmik_project/shubhangi.verma/spu32/riscv-gcccd/riscv-gnu-toolchain/build-gcc-newlib-stage1' make: [Makefile:571: stamps/build-gcc-newlib-stage1] Error 2

maikmerten commented 1 year ago

Hello, your toolchain is only set up for 64-bit RISC-V. I recommend building your own toolchain, e.g.

git clone --recursive https://github.com/riscv/riscv-gnu-toolchain
./configure --prefix=/opt/riscv --with-arch=rv32i --with-abi=ilp32
make
sh-88 commented 1 year ago

Ok we will try let u know.