d
- Linker Script 52.2%
- Shell 32.3%
- C3 15.5%
| linker-scripts | ||
| scripts | ||
| src | ||
| .gitignore | ||
| LICENSE | ||
| limine.conf | ||
| project.json | ||
| README.md | ||
Limine C3 Template
This repository will demonstrate how to set up a basic kernel in C3 using Limine.
Compiling
Dependencies
To compile you need to have c3c installed. This repository was made and tested for c3c version 0.8.2
Run c3c build deps to get the required dependencies to build this project (Limine and OVMF)
To compile only a binary run: c3c build <arch>
Supported architectures are aarch64 and amd64.
A binary will plop out at build/kernel
Running
To package the binary into an ISO and run it with QEMU run c3c build <arch>-run
So to build, package and run the aarch64 version, for example, you can do c3c build aarch64-run