Trouble getting cross compilation to work

2021-05-07 Thread JohnLuck
This one did the trick for me, thank you!

Trouble getting cross compilation to work

2021-05-06 Thread h3rald
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",

Trouble getting cross compilation to work

2021-05-06 Thread mikra
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++"

Trouble getting cross compilation to work

2021-05-06 Thread enthus1ast
vccexe.exe is visual c or? Seems that your config does not use mingw.

Trouble getting cross compilation to work

2021-05-06 Thread JohnLuck
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