This part is going to cover all the tools and steps that are needed
in order to have an initial set of building scripts for our os, and also
will explore some options for the compilers and the bootloader that can
be used for our kernel.
Below the list of chapters for this part:
General Overview: This chapter will
serve as a high level overview of the overall building process,
explaining why some steps are needed, and what is their purpose. It also
give an introduction to many of the concepts that will be developed in
the in the following chapters.
Boot Protocols & Bootloaders:
This chapter will explore two different solutions for booting our
kernel: Multiboot2 and Limine, explaining how they
should be used and configured in order to boot our kernel, and what are
their difference.
Makefiles: The building script, we
are going to use to build our kernel: Makefile.
Linker Scripts: This chapter will
introduce one of the probably most obscure part of the building
process, especially for beginners, it will explain what are the linker
scripts, why they are important, and how to write one.
Generating A Bootable Iso: After
building our kernel we want to run it too (yeah like the cakeā¦). In
order to do that we need a bootable iso, as only the kernel file is not
enough. This chapter will show how to create a bootable iso and start to
test it on emulators/real hardware.