| .. | ||
| src | ||
| Cargo.toml | ||
| Makefile | ||
| README.md | ||
| x86_64-kfs.json | ||
Kernel from scratch (KFS) series of projects at Ecole 42 !
compiling
dependencies
nasmcompiles the bootcodeldlinks the bootcodegrub-mkrescuebuilds the isoxargobuilds rust codeqemuruns the iso
on archlinux pacman -S make grub xorriso mtools binutils gcc qemu
rust setup
pacman -S rustup
rustup override add nightly
rustup component add rust-src
cargo install xargo
docker
a standard development environment can be invoked:
docker run jzck/arch-kernel -it /usr/bin/zsh
clone the repo and make iso
running
make run in your host operating system to launch qemu gtk window
References
- Rust page on OSDev wiki
- Writing an OS in rust extremely helpful to get things going on x86 and nightly rust