From 573bf7aa71a900d3e4fc204300ceea2230b89ec2 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 1 Aug 2024 16:23:37 -0400 Subject: update instructions in readme, setup --- readme.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'readme.txt') diff --git a/readme.txt b/readme.txt index cd58784..279807c 100644 --- a/readme.txt +++ b/readme.txt @@ -19,13 +19,14 @@ the packages listed below are sufficient. next, you will need to download and compile some dependencies. the script in setup.sh will do this for you. if it sees an environment variables MAKEOPTS, it will pass the contents of that as arguments to invocations of make. otherwise, -it defaults to "-j$(nproc)". if you nead to clean that setup for any reason, -you can use the script in clean-setup.sh. +it defaults to "-j$(nproc)". now that we have all the dependencies, just run "make". the default target is build/disk.iso, a bios-bootable disk image. you can run "make debug" to start -qemu with that disk, and attach gdb to it. you can also use "make clean" to -remove all of the files that "make" creates. +qemu with that disk, and attach gdb to it. you will have to run "continue" (or +"c" for short) in gdb to let qemu start. consider temporarily changing -O3 to +-Og in the CC_EXTRA_ARGS variable of the makefile temporarily if you want to +do any serious debugging. acknowledgements (any under "dependencies" are downloaded during build): -- cgit v1.2.3