Hello,
I am trying to cross-compile to Windows using the MinGW toolchain. Here's what I'm doing:
$ nim c -d:mingw --cpu:amd64 src/uitest.nim
However, a regular Linux executable is produced. How can I compile an exe file for Windows?
If you use devel, this is now straightforward.
https://nim-lang.github.io/Nim/nimc.html#cross-compilation-for-windows