-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
--genScript doesn't include nimbase.h file #803
Comments
IIRC the |
I wanted to compile some Nim code on my Raspberry Pi Zero today, and ran The copying of Line 471 in 37a5dab
but is no longer present here: I copied the file manually and was then able to compile on the Pi using the script in the cache dir. Two takeaways:
|
Generating a compilation script with
--genScript
doesn't work out-of-the-box because the generated compilation commands don't include a path to the nimrod/lib directory.If I'm correct in assuming that
--genScript
is intended to generate self-contained compileable C source, should it perhaps bundle the required header files into nimcache? Being new to nimrod, I'm not sure if nimbase.h is the only dependency or if there could potentially be others from nimrod/lib.The text was updated successfully, but these errors were encountered: