Open main menu

Aram's Wiki β

Changes

Bare metal RISC-V GCC 9.3.0 cross compiler instructions

28 bytes removed, 13:41, 13 November 2019
Build and install newlib gcc
rm -rf $HOME/obj/gcc-build && mkdir -p $HOME/obj/gcc-build
cd $HOME/obj/gcc-build
../../src/gcc-9.2.0/configure --prefix $HOME/riscv --target riscv64-unknown-elf --enable-multilib --enable-languages=c --with-gnu-as --with-gnu-ld --with-newlib
make -j8 all && make install