-
-
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
[request] Make it easier to produce nimrtl/nimhcr, reccomend in docs setting rpath to $ORIGIN for using nimrtl/nimhcr #11587
Comments
We can also just enforce the building of nimrtl/nimhcr as part of the distribution. On *nix packages can install nimrtl/nimhcr to |
|
We'll need a way to easily generate them for windows, but that's already possible, maybe just some magic to have them generated when hcr is enabled:
In that case then rpath
Well, I was focusing on packages provided by distributions, not via For universal behavior then maybe rpath magic can be used on Linux. That'd work no matter how an user install nim on their machine. |
ultimtately I was thinking of either something like:
|
Yes.
Yes, please. |
Is the plan to eventually include nimrtl and nimhcr in the distribution or will they always need to be compiled separately? |
They are part of the distribution, but how to set them up remains unclear. Will investigate. |
Thanks @Araq , i saw that they were in the distribution in source form but couldn't find them in binary form. I tried building them myself but no luck so far. |
In the docs it is shown that you can generate nimrtl using the following command
nim c -d:release lib/nimrtl.nim
, but this does not work in any arbitrary directory - you have to have the standard library folder on hand (or a copy of nimrtl.nim in your project that you build separately, which, to be fair, is very short as it includes the whole standard library directly).So, some suggestions:
The text was updated successfully, but these errors were encountered: