riscv-old-gcc
riscv-old-gcc copied to clipboard
unable to build mpfr, native branch.
Dear All,
I am trying to build the native compiler for RISC-V. Steps followed: cd riscv-gcc git checkout native git pull // additional step performed. patch -p1 < native-host-linux.patch ./configure make -j1 native SYSROOT=$SYSROOT
...
make[5]: *** No rule to make target buildopt.lo', needed by
libmpfr.la'. Stop.
make[5]: Leaving directory /home/akini/riscv/riscv-tools/riscv-gcc/build-gcc-native/mpfr/src' make[4]: *** [all] Error 2 make[4]: Leaving directory
/home/akini/riscv/riscv-tools/riscv-gcc/build-gcc-native/mpfr/src'
env variables set: export TOP=/home/akini/riscv export RISCV=$TOP/riscv export SYSROOT=$TOP/sysroot export PATH=$PATH:$RISCV/bin
Let me know if you need the config.log or build log to help me further.
regards, Anup.