Jim Wilson
Jim Wilson
Binutils doesn't use riscv-opcodes so I don't know why you are mentioning that. Also, there is no copy of binutils in riscv-tools, so it is unclear why a binutils problem...
You download sources from here. There are no binary releases as far as I know of. Also, I should mention that riscv-tools hasn't been maintained for several years now, and...
I would suggest checking riscv-isa-sim/build/config.log and then search for the string "checking whether byte ordering is bigendian". The configure script does a number of checks for target features to try...
This a gcc question not a riscv-tools question. Maybe you should try the gcc-help mailing list. If hardware requires a register, then you must give the assembler a register. You...
Your riscv64-unknown-elf compiler is broken. Try building a hello world program with it, you will likely get the same error for missing crt0.o. Where did your riscv64 compiler come from?...
Something went wrong when building the compiler. The toolchain does an initial compiler build without libraries, a C library build, and then a full compiler build with libraries. It looks...
You need a riscv64-unknown-elf-gcc cross compiler before you can build riscv-tools. You can build one from riscv/riscv-gnu-toolchain, or from crosstool-ng if you enable experimental support, or from FSF sources if...
build.common has PATH="$RISCV/bin:$PATH" So you must set RISCV to point at the prefix where the compiler was installed such that $RISCV/bin/riscv64-unknown-elf-gcc exists and is a working cross compiler.
Yes, you must build riscv-gnu-toolchain first, and it must be a riscv64-unknown-elf toolchain. Or you might be able to download a pre-built one. There are some prebuilt toolchains at sifive.com/boards...
riscv-tools is not maintained and is not expected to build. I don't recommend using it. If you really want to try, then updating submodules may make it buildable. cd into...