Mcpg / mcpgos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

McpgOS

Experimental Unix-like x86-32 operating system with a dirty codebase, written in C.

Building

You need:

  • a Unix-y environment (WSL is good if you're on Win10, Cygwin might be a good pick on other versions, didn't test it)
  • nasm
  • GNU make or something compatible
  • i686-elf toolchain
  • GRUB packages for generating the disk image

Now run make [whatever module you want] where the module can be:

  • all - everything except for the disk image
  • diskimg - the ISO
  • kernel - the amazing kernel itself
  • libc - libc to link with userspace software
  • klibc - libc to link with the kernel

Now hope I didn't push something uncompilable :-)

About


Languages

Language:C 84.3%Language:Assembly 9.4%Language:Makefile 2.9%Language:C++ 2.4%Language:GDB 0.6%Language:Shell 0.4%