nim-kernel-helloworld/nim.cfg

19 lines
365 B
INI
Raw Permalink Normal View History

2023-06-27 10:02:23 -07:00
gcc.exe = "aarch64-elf-gcc"
gcc.linkerexe = "aarch64-elf-ld"
--os:standalone
--cpu:arm64
-d:useMalloc
--mm:orc
--cc:gcc
--index:off
--passC:"-w -I$lib -I$LIBRARY_PATH -ffreestanding -O2 -Wall -Wextra"
# --passL:"-nostdlib -Tlinker.ld -o kernel.elf -O2"
--boundChecks:on
--noMain
--noLinking
--deadCodeElim:on
--hints:on
--listFullPaths:off
--nimcache:"nimcache"