Skip to content

Cannot run nakefile #15

Open
Open
@lilkeet

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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