This one did the trick for me, thank you!
Here's my working setup from my min project:
# https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/
switch("amd64.windows.gcc.path", "/usr/local/bin")
switch("amd64.windows.gcc.exe", "x86_64-w64-mingw32-gcc")
switch("amd64.windows.gcc.linkerexe",
from the nim compiler's nim.cfg:
@if unix and mingw:
# Cross compile for Windows from Linux/OSX using MinGW
i386.windows.gcc.exe = "i686-w64-mingw32-gcc"
i386.windows.gcc.linkerexe = "i686-w64-mingw32-gcc"
i386.windows.gcc.cpp.exe = "i686-w64-mingw32-g++"
vccexe.exe is visual c or? Seems that your config does not use mingw.
I am on mac and trying to compile dynamic libraries for Windows (for a game im
making in Godot). Right now my solution to compiling involves a USB stick and
rebooting...
I try to compile for windows like so: nim c -d:mingw my_file.nim
I get: (i installed mingw with brew) 'vccexe.exe /c --platfo