Open main menu

Aram's Wiki β

Changes

Bare metal RISC-V GCC 9.3.0 cross compiler instructions

203 bytes added, 15:50, 12 November 2019
Build and install binutils
cd $HOME/obj/binutils-build
../../src/binutils-2.33.1/configure --prefix $HOME/xgcc --bindir $HOME/bin --target riscv64-unknown-elf --enable-multilib
make -j8 && make install
 
== Build and install gdb ==
 
cd $HOME/obj/gdb-build
../../src/binutils-2.33.1/configure --prefix $HOME/xgcc --bindir $HOME/bin --target riscv64-unknown-elf --enable-multilib
make -j8 && make install