A build for Windows is available here, builds for other platforms are likely available via your platform’s package manager, or you can. Download one that suits your platform: Gnu Compiler Collection: Includes g++, a popular C++ compiler. configure -prefix=/opt/riscv -with-arch=rv32gĪdjust riscv-binutils-gdb/gdb/maint.h to include "sys/time.h".Īfter running the configure line above, edit the generated top-level Makefile by hand.Īdjust build-gcc-newlib line to contain -src=./src/newlib-gcc., i.e. There are good free C++ compilers available for all major OS platforms. If you choose, for example, /opt/riscv, then add /opt/riscv/bin to your PATH now. To build the Newlib cross-compiler, pick an install patch. Change into riscv-gnu-toolchain and run configure, targetting 32-bit RISC-V.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |