You should be able to build InfinityOS successfully on the following platforms:
- Ubuntu
- Windows (Using WSL or Cygwin)
- Getting the source:
git clone https://github.com/Hexuro/InfinityOS
- Changing the directory
cd ./InfinityOS
- Installing the individual required tools Debian-based:
curl -L https://raw.githubusercontent.com/notbonzo-com/osdev-utils/main/toolchain.sh -o /tmp/toolchain.sh
chmod +x /tmp/toolchain.sh
/tmp/toolchain.sh # The important part is to choose `i686-elf` as the architecture.
Arch-based:
make toolchain
- Building the InfinityOS
make
Now you can use bash ./scripts/run.sh
/make run
to open the disk image in Qemu and use bash ./scripts/debug.sh
to debug the disk image on bochs.