From 9c0146869c32527b11a3665b21953eb612d3c5d1 Mon Sep 17 00:00:00 2001 From: nigel Date: Sun, 2 May 2021 15:53:31 -0400 Subject: [PATCH] added new resource, removed build.sh, make can do everyting now --- README.md | 3 +++ build.sh | 22 ---------------------- 2 files changed, 3 insertions(+), 22 deletions(-) delete mode 100755 build.sh diff --git a/README.md b/README.md index c07f211..2141595 100644 --- a/README.md +++ b/README.md @@ -47,3 +47,6 @@ I hope to soon have the basic output and booting sequence with multiboot done. [wiki.osdev.org/Main_Page](wiki.osdev.org/Main_Page) [Modern Operating Systems [book]](https://www.amazon.com/Modern-Operating-Systems-Tanenbaum-Andrew/dp/1292061421/ref=sr_1_1?__mk_nl_NL=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=Modern+Operating+systems&qid=1619967779&sr=8-1) + + +[whiteheadsoftware.dev](https://whiteheadsoftware.dev/operating-systems-development-for-dummies/) \ No newline at end of file diff --git a/build.sh b/build.sh deleted file mode 100755 index 8a15692..0000000 --- a/build.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -# Environment setup -export PATH="$HOME/opt/cross/bin:$PATH" - - -## Setup directory variables -SRC_DIR=src -BUILD_DIR=build - - -# clean old build -rm build/* - -# Execute build -i686-elf-as $SRC_DIR/boot.s -o $BUILD_DIR/boot.o -i686-elf-gcc -c $SRC_DIR/kernel.c -o $BUILD_DIR/kernel.o -std=gnu99 -ffreestanding -O2 -Wall -Wextra -i686-elf-gcc -T $SRC_DIR/linker.ld -o $BUILD_DIR/myos.bin -ffreestanding -O2 -nostdlib $BUILD_DIR/boot.o $BUILD_DIR/kernel.o -lgcc - - -## How to run build -## Use the command: qemu-system-i386 -kernel build/myos.bin \ No newline at end of file