Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run nakefile #15

Open
lilkeet opened this issue Nov 20, 2022 · 1 comment
Open

Cannot run nakefile #15

lilkeet opened this issue Nov 20, 2022 · 1 comment

Comments

@lilkeet
Copy link

lilkeet commented Nov 20, 2022

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.

@J0nas-DEV
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants