This commit is contained in:
Jack Halford 2018-02-05 18:13:16 +01:00
commit 25a76fce29

View file

@ -1,8 +1,8 @@
based on [Writing an OS in rust](https://os.phil-opp.com/) Kernel from scratch (KFS) series of projects at Ecole 42 !
# compiling # compiling
## dependencies ### dependencies
- `nasm` compiles the bootcode - `nasm` compiles the bootcode
- `ld` links the bootcode - `ld` links the bootcode
@ -12,15 +12,16 @@ based on [Writing an OS in rust](https://os.phil-opp.com/)
on archlinux `pacman -S make grub2 xorriso mtools binutils gcc qemu` on archlinux `pacman -S make grub2 xorriso mtools binutils gcc qemu`
## rust setup ### rust setup
``` ```
pacman -S rustup pacman -S rustup
rustup override add nightly
rustup component add rust-src rustup component add rust-src
cargo install xargo cargo install xargo
``` ```
## docker ### docker
a standard development environment can be invoked: a standard development environment can be invoked:
``` ```
@ -32,3 +33,8 @@ clone the repo and `make iso`
# running # running
`make run` in your host operating system to launch qemu gtk window `make run` in your host operating system to launch qemu gtk window
# References
- [Rust page on OSDev wiki](https://wiki.osdev.org/Rust)
- [Writing an OS in rust](https://os.phil-opp.com/) extremely helpful to get things going on x86 and nightly rust