Hello, I used this link (https://github.com/riscv/riscv-gnu-toolchain) for install the RISC cross-compiler and worked for me.
Best regards! [https://avatars0.githubusercontent.com/u/10872782?s=400&v=4]<https://github.com/riscv/riscv-gnu-toolchain> GitHub - riscv/riscv-gnu-toolchain: GNU toolchain for RISC-V, including GCC<https://github.com/riscv/riscv-gnu-toolchain> RISC-V GNU Compiler Toolchain. This is the RISC-V C and C++ cross-compiler. It supports two build modes: a generic ELF/Newlib toolchain and a more sophisticated Linux-ELF/glibc toolchain. github.com ---------------------------------------------------------------------------------------------------------------------------------------------- Francisco Carlos Silva Junior Ph.d student ________________________________ De: Eun-Sung Kim via gem5-users <gem5-users@gem5.org> Enviado: terça-feira, 28 de julho de 2020 05:16 Para: gem5-users@gem5.org <gem5-users@gem5.org> Cc: Eun-Sung Kim <eskim...@gmail.com> Assunto: [gem5-users] RISCV compiling error Hi all, I've successfully installed RISC-V GNU cross compiler for gem5 according as https://www.gem5.org/documentation/general_docs/compiling_workloads. Then I compiled a test c program, but I got the error message as follows: fatal error: stdio.h: No such file or directory. What was my mistake? Thanks, Ed
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s