From 13fdddc36db36288dc995a76d187ba7035e5743f Mon Sep 17 00:00:00 2001 From: Alexander Myltsev Date: Wed, 1 Feb 2023 14:51:48 +0400 Subject: [PATCH] Add "make diag". --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 5a10743..0563102 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,13 @@ ejudge.sh: image.bin echo >>$@ "exec qemu-system-i386 -nographic -drive format=raw,file=image.bin -serial mon:stdio" chmod +x $@ +diag: + -uname -a + -$(CC) --version + -$(LD) -v + -gcc --version + -ld -v + debug-boot-nox: image.bin mbr.elf qemu-system-i386 -nographic -drive format=raw,file=$< -s -S & $(GDB) mbr.elf \