Five EmbedDev logo Five EmbedDev

An Embedded RISC-V Blog

RISC-V Compile Targets, GCC

June 26, 2019 (gcc,base_isa,extensions,abi)

Getting started with RISC-V. Compiling for the RISC-V target. This post covers the GCC machine architecture (-march), ABI (-mabi) options and how they relate to the RISC-V base ISA and extensions. It also looks at the multilib configuration for GCC.