- A native toolchain for C and Rust
- Ninja build tool
Note: never tested on Windows hosts.
mkdir build
cd build
../configure --target-list=riscv32-softmmu --without-default-features --enable-tcg \
--enable-tools --enable-trace-backends=log [--enable-gtk | --enable-cocoa]
ninja
ninja qemu-img
-
--enable-gtk
and--enable-cococa
are only useful when using a graphical display, such as the IbexDemo platform. It is mosly useless with the OpenTitan platform.--enable-gtk
should be used on Linux hosts--enable-cocoa
should be used on macOS hosts
--enable-debug
--enable-sanitizers