nimkernel icon indicating copy to clipboard operation
nimkernel copied to clipboard

Cannot run nakefile

Open lilkeet opened this issue 3 years ago • 2 comments

Hey, ive run into an issue trying use the nakefile. the nakefile does compile, but when using the run task, it errors: Linking.... $HOME/cross-tools/lib/gcc/i686-elf/11.2.0/../../../../i686-elf/bin/ld: cannot find nimcache/stdlib_system.nim.c.o: No such file or directory

The object file that its looking for is not in nimcache, but there is a file named @m..@[email protected]@[email protected]@[email protected] and its corresponding c file. I tried copying both files and renaming them to what the nakefile wants, and it sorta bypasses the error but throws a warning and then another error: $HOME/cross-tools/lib/gcc/i686-elf/11.2.0/../../../../i686-elf/bin/ld: warning: section `.bss' type changed to PROGBITS Done. sh: 1: qemu-system-i386: not found

Isnt this file just a necessary file that the nim compiler generates? It doesn't seem to be doing much, just defining nim structures in c.

lilkeet avatar Nov 20 '22 09:11 lilkeet

you need to add the path of your qemu directory to your environment then after that restart your computer..... it works with mine try it.

J0nas-DEV avatar Feb 25 '23 18:02 J0nas-DEV