riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.13k stars 446 forks source link

fatal error: features.h: No such file or directory compilation terminated. #269

Open Dee-Ma opened 5 years ago

Dee-Ma commented 5 years ago

Hi there,

I am running 'build.sh' code in linux using GPU node, however, I always got the error:

fatal error: features.h: No such file or directory compilation terminated.

Any help would be appreciated. Thank you in advance!

jim-wilson commented 5 years ago

That isn't a useful bug report. You only gave us one line of output, which isn't enough info to tell what went wrong, or where it went wrong.

In general, though, I can point out that riscv-tools is poorly maintained and difficult to build, and generally should be avoided. If you want a toolchain, use riscv-gnu-toolchain instead.