Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is make no longer included with MinGW and/or MSYS?

I installed MinGW and MSYS on my Windows 7 computer. I added C:\Program Files (x86)\MinGW\bin to my path. Commands such as gcc and g++ work, but make does not. I looked in the directory, and there is no executable called make, even though I installed all components. There is a file called mingw32-make. There are also other files prefixed with mingw32-, such as c++, g++, gcc, gcc-4.6.1, and gfortran. However, there is a make in C:\Program Files (x86)\MinGW\msys\1.0\bin.

If I open the MinGW Shell and type in make, make executes. However, it does not execute from the Windows terminal.

Is this intentional, or could I be missing other executables as well? Should I just add C:\Program Files (x86)\MinGW\msys\1.0\bin to my path?

like image 575
Thomas Owens Avatar asked Nov 30 '11 23:11

Thomas Owens


People also ask

What is the difference between MSYS2 and MinGW?

msys2 vs msys vs msysgit MinGW doesn't provide a linux-like environment, that is MSYS (2) and/or Cygwin Cygwin is an attempt to create a complete UNIX/POSIX environment on Windows. MinGW is a C/C++ compiler suite which allows you to create Windows executables - you only

What is MinGW and how does it work?

MinGW is a C/C++ compiler suite which allows you to create Windows executables - you only need the normal MSVC runtimes, which are part of any normal Microsoft Windows installation. MinGW provides headers and libraries so that GCC (a compiler suite, not just a "unix/linux compiler") can be built and used against the Windows C runtime.

Does NetBeans work with MinGW make or MSYS's make?

It says in the documentation for the C/C++ part of NetBeans that it will only work with MSYS's make, not MinGW's make. I wanted to know the difference between the two, so I Googled it and came up with this question which says there are two different makes included with MinGW, mingw32-make (MinGW's make) and make (MSYS's make).

How to install MinGW on Windows 10?

Open MinGW Installer. Select Basic Setup, navigate to Packages and Right click on “mingw-developer-toolkit-bin”, “mingw32-base-bin” and “msys-base-bin” Packages and select Mark for Installation. 1.2.2 Navigate to the Top left corner and Left click on Installation then click Apply Changes.


1 Answers

Yup, add the msys bin directory to your path (after MinGW's bin dir). That's exactly what the MinGW shell does and why it works there.

like image 169
eriktous Avatar answered Oct 25 '22 19:10

eriktous