CCOS (Casept's Crappy Operating System) is my taking a crack at writing an x86_64 OS, largely from scratch from the bootloader up.
It will probably end up being a fairly classical microkernel design. The main goal here is learning, not revolutionizing OS design.
The build is driven by some more-or-less gross looking GNU Make scripts, utilizing fully statically linked toolchain binaries which are checked into the repo for convenience. Building on a non-Linux OS is unsupported.
Tools other than the toolchain can be pulled in via Nix:
nix-shell
make -j$(nproc)
the mac port is unstable and needs a lot of manual fixing. ccboot build is unsupported. Only cccore with limine bootloader works.
install the following brew packages
brew install util-linux # needed for sfdisk
brew install x86_64-elf-gcc # needed for cross compiling
brew install qemu # emulation. bochs should also work
you need to relink the toolchains/x86_64-unknown-elf-gcc.mk
to the mac version toolchains/x86_64-unknown-elf-gcc-mac.mk