Skip to content

Voxi0/thymos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thymos

$${\color{red}x86 \textunderscore 64 \space bit \space operating \space system \space in \space zig}$$

GitHub License GitHub repo size GitHub Repo stars

Build Dependencies

Note

Nix users are able to enable flakes and run nix develop in the same directory as the flake.nix in thymos to enter the provided development shell with all of these dependencies already installed.

  • Zig - Obviously you need Zig to build thymos since it's written in Zig believe it or not.
  • GNU Make - I mainly rely on the Zig build system but honestly Makefiles are super convenient and I use one to just wrap around Zig's build system and also some extra things like fetching dependencies/libraries. I could probably put everything here into build.zig but it'd be way more convoluted and painful in my honest opinion.
  • QEMU - Neat emulator for trying out thymos unless you want to boot thymos on real hardware for whatever reason. This is just more convenient than booting thymos on baremetal hardware but you do you.
  • Xorriso - Creates a bootable ISO.
  • Git and curl - To fetch dependencies/libraries like Limine.

Building

  • make fetchDeps - Fetches all required dependencies/libraries. This MUST be run first
  • make kernel - Just builds the kernel
  • make iso - Creates a bootable ISO
  • make run - Generates a bootable ISO and runs it using QEMU
  • make cleanDeps - Deletes all dependencies/libraries
  • make cleanCache - Deletes .zig-cache
  • make clean - Deletes all build output

Contributors

About

a simple x86_64 operating system in zig

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages