I want to try to compile and run the Openblas library on the riscv simulator, but I am currently experiencing some problems. My current attempt is to use
make HOSTCC=gcc TARGET=C910V CC=riscv64-unknown-linux-gnu-gcc FC=riscv64-unknown-linux-gnu-gfortran (this command comes from the official OPENBLAS document)
This command is used to compile openblas, and finally the qemu simulation tool is used for simulation operation. At present, there are always problems during the compilation process and the compilation cannot be successful. I think it may be that the versions of the riscv64-unknown-linux-gnu-gcc and openblas libraries need to match, but I don’t know how to correctly cross-compile openblas for riscv. I hope someone who knows this can help. Thanks!