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"