Open chiachia36 opened 2 years ago
I'm just shooting in the dark here, but you might need to add $RISCV_TOOLCHAIN_ROOT_32/bin
to your PATH before executing configure
. If configure
can't locate the RISC-V compiler, it'll end up using your host compiler.
It seems the problem is mentioned at https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1053. I revert my riscv-gnu-toolchain
to tag:2022.03.09.
Hi, Here is my command before
make
.../configure --prefix=$RISCV_TOOLCHAIN_ROOT_32 --host=riscv32-unknown-elf --with-arch=rv32i
Here is error message I got.Here is tool list in $RISCV_TOOLCHAIN_ROOT_32/bin.
Did I miss any steps? Thanks!