Closed SolitudeSF closed 5 years ago
Nimterop doesn't work with cross-compiling scenarios since Nim itself doesn't support it.
https://github.com/nimterop/nimterop/issues/126
Basically, once you set the target OS to something else, every compile-time call will run as if it is on the target. This breaks many things that nimterop does.
Can you share more details on what you are trying?
im trying to update choosenim for void linux, and it requires package to be built for arm. i guess im gonna mark it as non crosscompilable.
Building for arm using GCC on Linux should still work since the host and target are still posix systems.
How about passing some extra flags to configure? You'd need to edit the package but once you get it working, we can look into making it something that can be detected.
you gonna have to guide me, since im no expert
Catch me on #nim.
Crosscompiling fails with