From 4f2c632cf995a8e96e712d2083405dc4708fa857 Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Sun, 22 Oct 2017 00:22:14 +0100 Subject: [PATCH] Enabled LibC. --- nim.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nim.cfg b/nim.cfg index 96c1d79..bfe0008 100644 --- a/nim.cfg +++ b/nim.cfg @@ -1,10 +1,10 @@ --cc:clang ---clang.linkerexe="clang" ---gc:none --deadCodeElim:on +--gc:none +--boundChecks:on --path:"kernel/arch/i386" --cpu:i386 --os:standalone ---passC:"-ffreestanding -nostdlib --target=i686-pc-none-elf -march=i686" ---passL:"-target i386 -nostdlib -T ./kernel/arch/i386/linker.ld boot.o" +--passC:"-ffreestanding -nostdlib --target=i386-pc-none-elf -march=i386 -lc" +--passL:"-ffreestanding -target i386 -nostdlib -T ./kernel/arch/i386/linker.ld boot.o -lc" --out:"myos.bin"