/Teaching/Operating Systems/Tutorials/Building SWEB under Mac OS
Building SWEB under Mac OS
In order to build SWEB under Mac OS you need a cross compiler. We recommend you follow the instructions at https://github.com/GhostLyrics/homebrew-sweb.
Running CMake
Create a folder for the binary an object files (/tmp/sweb
for example).
Run CMake as follows: cmake /path/to/sweb
Now you can run make
and make qemu
.