Closed clx782782 closed 5 years ago
I typed "./build.sh",and the log was below:
Installing project riscv-isa-sim Removing existing riscv-gnu-toolchain/build directory Configuring project riscv-gnu-toolchain Building project riscv-gnu-toolchain ... /bin/sh: 1: test: false: unexpected operator *** This configuration is not supported in the following subdirectories: ... from x86_64-pc-linux-gnu to riscv64-unknown-elf. /path/to/install/riscv/toolchain/riscv64-unknown-elf/bin/as: unrecognized option '--64' make[2]: *** [build/version.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [all-gcc] Error 2 make: *** [stamps/build-gcc-newlib-stage1] Error 2
I updated my gcc and g++ from 4.8 to 5.5, but it also failed.
I've known what happened. I forgot to change the g++ version after the installation.
I typed "./build.sh",and the log was below: