A WIP x86_64 hobby operating system made in C and Assembly.
Why not? I like challenges so I wanted to give my shot at creating an operating system. I want to have deeper insights on how computers work and create projects to sharpen my skills and abilities.
Before compiling you need:
- a GCC cross compiler(x86_64)
- NASM
- internet connection
An internet connection is needed to download needed dependencies.
It is assumed your toolchain is in /usr/local/gcc-cross. To use a toolchain in a different path change PREFIX and TOOLCHAINPREFIX variables like so:
make targetHere PREFIX=yourPathHere TOOLCHAINPREFIX=yourPrefixHereBy default they are set like so: PREFIX=/usr/local/gcc-cross TOOLCHAINPREFIX=x86_64-elf-
By running the following commands everything will be compiled and included in the os image.
To generate a .iso image:
make allTo generate a .hdd image:
make all-hddFrom the main project directory:
make kernelor from the kernel directory run:
make