It's just a toy for learning OS technology.
pacman -S g++ cmake grub xorriso mtools
- grub-pc-bin
Using Cygwin
to install following dependency tools:
- mingw
- cmake
- make
- xorriso
Must using g++/MinGW as compiler, clang or other else is NOT support yet.
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_ASM_COMPILER=g++ ..
make # or ninja when using Ninja as generator
When build done, you can found sos.iso
and sos_kernel
in your build dir.
sos.iso
is a bootable image so you can start from it using VirtualBox or QEMU.
- QEMU
qemu-system-x86_64 -boot d -cdrom sos.iso -m 256
qemu-system-x86_64 -enable-kvm -machine q35,accel=kvm -device intel-iommu -cpu host -boot d -cdrom sos.iso -m 256
qemu-system-x86_64 -accel hax -boot d -cdrom sos.iso -m 256
This project is licensed under the MIT license.