Fixed debug build options.

This commit is contained in:
neviyn 2017-11-17 01:17:04 +00:00
parent b60b2b1f8f
commit 473ae8fad1

View File

@ -21,7 +21,7 @@ task "build", "Builds the operating system.":
runTask("clean")
runTask("bootloader")
echo "Compiling and linking."
direShell "nim cc -o", outputFile, standardOptions
direShell "nim cc -o:", outputFile, standardOptions
runTask("checkMultiboot")
echo "Done."
@ -41,7 +41,7 @@ task "checkMultiboot", "Checks the grub multiboot header.":
task "debug", "Runs the operating system using QEMU with debug build and flags.":
runTask("build")
echo "Running in Qemu."
direShell "qemu-system-i386 -kernel", outputFile ,"-serial stdio -no-reboot -d int,cpu-reset"
direShell "qemu-system-i386 -kernel", outputFile ,"-serial stdio -no-reboot -d int,cpu_reset"
task "run", "Runs the operating system using QEMU.":
runTask("build-release")