From 18cf494861766b17001785967594252651920d19 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 2 Jan 2020 22:59:46 +0100 Subject: Bye-bye Make, Hi-hi Cmake! --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 833579d..256a60d 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,11 @@ * Use any system running GNU/Linux (Successfully tried building on Debian, Arch Linux and even OpenBSD) * Install build dependencies (package names may vary depending on your operating system) + * Ubuntu/Debian _"instructions"_ can be found here: [GitHub Workflow](https://raw.githubusercontent.com/marvinborner/Melvix/master/.github/workflows/build.yml) * binutils * gcc * make + * cmake * bison * flex * gmp @@ -31,13 +33,15 @@ * genisoimage * qemu -* Build a cross compiler using `make cross` +* Build a cross compiler using `sh cross.sh` -* Run `make build` +* Run + * `mkdir build && cd build` + * `cmake .. && make` + * `cd .. && rm -rf build` + * The relevant files are in iso/ -* Test Melvix in QEMU (opens after `make test`) - -* Optional: Flash the built ISO to a USB/Floppy/CD drive using `sudo dd if=./build/melvix.iso of=/dev/sdX bs=4M oflag=sync` +* Optional: Flash the built ISO to a CD drive using `sudo dd if=./iso/melvix.iso of=/dev/sdX bs=4M oflag=sync` ## Licenses Melvix is released under the MIT License and uses the following 3rd party applications (as stated in the regarding files): -- cgit v1.2.3