Skip to content

Cannot run nakefile #15

@lilkeet

Description

@lilkeet

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..@s..@s.choosenim@stoolchains@snim-1.6.8@slib@ssystem.nim.c.o 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions