Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mingw 64 ships without make.exe?

Tags:

c++

windows

mingw

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?

like image 413
Albert Hendriks Avatar asked Mar 12 '17 20:03

Albert Hendriks


People also ask

Does MinGW have make?

Generates makefiles for use with mingw32-make under a Windows command prompt. Use this generator under a Windows command prompt with MinGW (Minimalist GNU for Windows) in the PATH and using mingw32-make as the build tool. The generated makefiles use cmd.exe as the shell to launch build rules.

What is mingw32-make EXE?

Mingw32 is a Windows port of the GCC (Gnu Compiler Collection) toolchain; i.e., a C/C++ compiler, assembler, and linker for building Windows (specifically Win32) binaries. It makes executable programs.

Does MinGW64 make?

The mingw-w64/w32 packageThis is a binary package for GNU Make, patched for use with mingw-w64/w32. It contains 32 and 64-bit executables and has three identical files for each.

What is the difference between MinGW and MinGW64?

Mingw-w64 is an advancement of the original mingw.org project, created to support the GCC compiler on Windows systems. It has forked it in 2007 in order to provide support for 64 bits and new APIs. It has since then gained widespread use and distribution.


1 Answers

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.

like image 170
besc Avatar answered Sep 21 '22 18:09

besc