我想使用 riscv-gcc。我从https://github.com/riscv/riscv-gcc得到它,但是当我编译它时,我得到了下面的错误
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
我不知道有什么问题,我已经使用这个版本来构建 FlexPRET 项目,而最新版本与 FlexPRET 不兼容。