c++windowsmingw

mingw 64 ships without make.exe?


I had an old version of mingw on my computer that compiles programs to 32 bit. Now I want to compile to 64 bit, so I downloaded the new mingw installer. It tried uninstalling and installing several times with different versions (x86_64 option each time), but some files appear to be missing each time, at least make.exe. There's no make.exe in any of the mingw subfolders, only mingw32-make.exe in

C:\Program Files\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin

I'm relatively new to c++, so maybe I'm overlooking something? https://sourceforge.net/p/mingw-w64/wiki2/Make/ mentions you can copy make to the bin folder, but where do I copy it from?


Solution

  • mingw32-make.exe is the one you want to use. It is the version of make shipped with MinGW-w64. A plain make.exe does not exist. Don’t get confused by the name. You use mingw32-make.exe no matter if you want to produce 32bit or 64bit binaries.