From a13899fd59477926f6857af15075cb97fac51dd4 Mon Sep 17 00:00:00 2001 From: Jack Halford Date: Sun, 4 Feb 2018 19:37:15 +0100 Subject: [PATCH 1/5] Update README.md --- kernel-rs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-rs/README.md b/kernel-rs/README.md index 1aad36dc..4fa8a25a 100644 --- a/kernel-rs/README.md +++ b/kernel-rs/README.md @@ -4,7 +4,7 @@ based on [Writing an OS in rust](https://os.phil-opp.com/) ## dependencies -for archlinux `pacman -S make grub2 xorriso mtools binutils` +for archlinux `pacman -S make grub2 xorriso mtools binutils rustup` ## docker a standard development environment can be invoked: From 84b5dcbb8b2cfe5bdd85625c4d9488c3e40d29a2 Mon Sep 17 00:00:00 2001 From: Jack Halford Date: Sun, 4 Feb 2018 19:42:05 +0100 Subject: [PATCH 2/5] Update README.md --- kernel-rs/README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/kernel-rs/README.md b/kernel-rs/README.md index 4fa8a25a..29a8bf33 100644 --- a/kernel-rs/README.md +++ b/kernel-rs/README.md @@ -2,9 +2,18 @@ based on [Writing an OS in rust](https://os.phil-opp.com/) # compiling -## dependencies +## dependencies for assembly and boot -for archlinux `pacman -S make grub2 xorriso mtools binutils rustup` +grub is the default bootloader, we need `ld` and `nasm` to compile the bootcode +for archlinux `pacman -S make grub2 xorriso mtools binutils` + +## rust setup + +``` +pacman -S rustup +rustup component add rust-src +cargo install xargo +``` ## docker a standard development environment can be invoked: From 808a111b04b46dba139b6dbe5d5254cec5a45412 Mon Sep 17 00:00:00 2001 From: Jack Halford Date: Sun, 4 Feb 2018 19:42:19 +0100 Subject: [PATCH 3/5] Update README.md --- kernel-rs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-rs/README.md b/kernel-rs/README.md index 29a8bf33..42f1a8e3 100644 --- a/kernel-rs/README.md +++ b/kernel-rs/README.md @@ -4,7 +4,7 @@ based on [Writing an OS in rust](https://os.phil-opp.com/) ## dependencies for assembly and boot -grub is the default bootloader, we need `ld` and `nasm` to compile the bootcode +grub is the default bootloader, we need `ld` and `nasm` to compile the bootcode for archlinux `pacman -S make grub2 xorriso mtools binutils` ## rust setup From 88020a6fc35709a5f08a9e86c04a1ba3eb3df47d Mon Sep 17 00:00:00 2001 From: Jack Halford Date: Sun, 4 Feb 2018 19:48:13 +0100 Subject: [PATCH 4/5] Update README.md --- kernel-rs/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/kernel-rs/README.md b/kernel-rs/README.md index 42f1a8e3..20331f3e 100644 --- a/kernel-rs/README.md +++ b/kernel-rs/README.md @@ -4,8 +4,13 @@ based on [Writing an OS in rust](https://os.phil-opp.com/) ## dependencies for assembly and boot -grub is the default bootloader, we need `ld` and `nasm` to compile the bootcode -for archlinux `pacman -S make grub2 xorriso mtools binutils` + - `nasm` compiles the bootcode + - `ld` links the bootcode + - `grub-mkrescue` builds the iso + - `xargo` builds rust code + - `qemu` runs the iso + +on archlinux `pacman -S make grub2 xorriso mtools binutils gcc qemu` ## rust setup From 4c019ca6951618719fb105a3f624124d4a6dced7 Mon Sep 17 00:00:00 2001 From: Jack Halford Date: Sun, 4 Feb 2018 19:48:28 +0100 Subject: [PATCH 5/5] Update README.md --- kernel-rs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-rs/README.md b/kernel-rs/README.md index 20331f3e..f68da820 100644 --- a/kernel-rs/README.md +++ b/kernel-rs/README.md @@ -2,7 +2,7 @@ based on [Writing an OS in rust](https://os.phil-opp.com/) # compiling -## dependencies for assembly and boot +## dependencies - `nasm` compiles the bootcode - `ld` links the bootcode