Jim Wilson

Results 272 comments of Jim Wilson

You can get the gcc version by using "gcc -v". Whether you can use an older gcc versions depends on what system you are using to build on. Some systems...

You must have a riscv64-unknown-elf toolchain to build riscv-tools. What version of riscv-openocd do you have? The errors given don't map to the riscv-openocd version in riscv-tools. It looks like...

Perhaps you need an older verison of automake. Or maybe riscv-openocd is broken. You might try talking to them directly instead of reporting problems here.

github.com/riscv/riscv-openocd

There is no toolchain in riscv-tools. I'm assuming that you are building riscv-gnu-toolchain instread. If you don't have gdb at the end, then the build failed. This may not be...

Does the file test.c exist? What does "ls test.c" say?

There is a stable gcc-7.3 for RISC-V but you are better off using a newer version. The current supported version of riscv/riscv-gnu-toolchain is gcc-10.2 for instance. Why do you need...

I don't follow the C++ standard. If the software builds with gcc, then it should build with 10.2 as that is the latest FSf GCC release. Keep in mind that...

There is no way for me to know if some random software package compiles for RISC-V.

This was also askied in riscv-gnu-toolchain issue 840. An embedded elf compiler can't support librt because it requires OS support, and the embedded elf toolchain assumes no OS. The linux...