2 ms·
Cross-compilation looks pretty simple in Nim: http://nim-lang.org/nimc.html#cross-compilation http://nim-lang.org/nimc.html#cross-compilation Since Nim uses C
by twic 12y ago
Cross-compilation looks pretty simple in Nim:
http://nim-lang.org/nimc.html#cross-compilation http://nim-lang.org/nimc.html#cross-compilation
Since Nim uses C as an intermediate representation, cross-compilation support should be as good as your C compiler's.
Rust's cross-compilation seems to not be that great at the moment. Although i believe that's because it hasn't been done yet, rather than having been done badly.
- steveklabnik 12y agoRust's cross-compilation works, but it's not as easy as it could be. One issue is that you need a cross-compiled version of the standard library lying around.
- __david__ 12y agoIsn't that an issue with every compiled language? I remember always having to cross-compile newlib when I set cross-compiled gcc environments.
- steveklabnik 12y agoIt's true, but you can make this easier or harder, depending. We don't make it particularly easy. It's a mater of polish.
- Matthias247 12y agoFor Go you don't. I found it quite awesome when I could cross-compile something for my raspberry-pi from a Windows PC.
- __david__ 12y agoDoes this mean they ship with the cross compiled libraries installed?