I'm able to successfully create 64-bit executables with the mingw-w64 compiler in my Windows (64-bit) cmd prompt:
g++ main.cpp -o App
I properly added the the correct Environment variable:
1 2
|
C:\Program Files\mingw-w64\x86_64-6.1.0-posix-sjlj-rt_v5-rev0\mingw64\bin
|
Is there way I to create 32bit executables using the same mingw-w64 compiler? Perhaps there's a flag I need to add after g++?
Last edited on
Last edited on