github: https://github.com/xwwwb/riscv-os
gitee: https://gitee.com/xwwwb/riscv-os
使用Ubuntu20.04
20.04及以后的系统都可用
Ubuntu – 软件包搜索结果 -- gcc-riscv64-unknown-elf
sudo apt update
sudo apt install build-essential gcc make perl dkms git gcc-riscv64-unknown-elf gdb-multiarch qemu-system-misc