Closed joshuajohncohen closed 2 years ago
I get the same thing. Guess nim internals have changed over time and now it requires an explicit implementation of said function when using --os:standalone.
Probably we'll have to ask in nim forums as here is no activity anymore, sadly :(
Yeah, no time to look into this I'm afraid. Happy to accept PRs to fix this if someone finds the solution :)
So far that's what I got from nimforum: https://forum.nim-lang.org/t/7107
First, there's a fork which fixed this error but it just gives me another one: https://github.com/watzon/JackOS
Second, other poster proposed compiler flags --os:any -d:StandaloneHeapSize=1048576 which indeed compile but need to fix my cross gcc first.
Still I am very intrigued about using nim for a hobby microkernel OS (x86_64 with bootloader Pure64 probably) and am working on it but I'm also still learning nim basics..
Do you have any recommendations to me where to read about nim internals, --os:standalone, porting nim RTL etc..?
Not really, just gotta search around and find various github issues/forum posts :)
I have made a pull request that fixes this, and a couple other problems with the newer versions of nim.
Closing this since the PR was merged.
When I run
./nakefile run
I get an error saying the system module needs appendString() My screen