Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sh-88 opened this issue Mar 16, 2023 · 2 comments

Comments

@sh-88
Copy link

sh-88 commented Mar 16, 2023

--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
Copy link
Owner

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
Copy link
Author

sh-88 commented Mar 16, 2023

Ok we will try let u know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants