Re: "Cross-platform C" target for Nim?

2017-10-07 Thread Tiberium
wizzardx: yes, and nim uses niminst

Re: "Cross-platform C" target for Nim?

2017-10-06 Thread wizzardx
Have been trying for a while but haven't yet been able to get niminst working for me (I'll keep trying to figure it out later) But I think the secret is actually over here during the process of installing Nim from github: git clone --depth 1

Re: "Cross-platform C" target for Nim?

2017-10-05 Thread Araq
Nim uses the `niminst` tool to produce the tarballs. It's configured via `compiler/installer.ini`. Read `koch.nim` to see how niminst is invoked.

Re: "Cross-platform C" target for Nim?

2017-10-05 Thread mratsim
There is cross-compilation with an [ARM example](https://nim-lang.org/docs/nimc.html#cross-compilation). Is that enough?

"Cross-platform C" target for Nim?

2017-10-05 Thread wizzardx
Hi there. Generated C Nim code usually targets specific a specific OS and CPU combination with it's C gen backend. But the tarball for Nim itself (also written in Nim), is cross-platform, and doesn't require a specific CPU or OS to be present. Is there a way to tell the Nim compiler to output