Just to add some details to the previous comments: On Windows you can open a command prompt (as admin), go to the c:\<your msys installation path>\mingw64\bin directory and run mklink make mingw32-make.exe to create a symbolic link. That will allow you to run the make command in the MINGW64 shell

Answer from Bobbie E. Ray on Stack Overflow
🌐
MSYS2
packages.msys2.org › packages › make
Package: make - MSYS2 Packages
2 weeks ago - https://cgit.git.savannah.gnu.org/cgit/make.git · License(s): GPL3 · Version: 4.4.1-3 · External: Anitya · make · Arch Linux · 4.4.1 · AUR · 4.4.1 · Cygwin · 4.4.1 | make-4.4.1-2-src.tar.xz · Gentoo · 4.4.1-r102 · Repology · make · Installation: pacman -S make 📋 · File: https://mirror.msys2.org/msys/x86_64/make-4.4.1-3-x86_64.pkg.tar.zst ·
Base Packages
Pending Updates · Repo Updates · Outdated Packages · Repos · Base Packages · Packages · Base Groups · Groups · Security · Search
Pending Updates
Packages get automatically built via msys2/msys2-autobuild. Maintainers can control the build pipeline here. After the packages are built they still need to be manually signed and uploaded to the pacman repo, so please be patient :) · Cycles: mingw-w64-crt ↔ mingw-w64-headers, mingw-w64-crt ...
Search
Pending Updates · Repo Updates · Outdated Packages · Repos · Base Packages · Packages · Base Groups · Groups · Security · Search
Packages
Pending Updates · Repo Updates · Outdated Packages · Repos · Base Packages · Packages · Base Groups · Groups · Security · Search
Discussions

Thread: [Msys2-users] install make? | MSYS2
Join/Login · Business Software · Open Source Software · For Vendors · About · Articles · Create · SourceForge Podcast · Site Documentation · Subscribe to our Newsletter More on sourceforge.net
🌐 sourceforge.net
Error running Make on Windows - msys-MinGW64
I'm trying to build the Java bindings for vosk on Windows on msys2-MinGW64. Having trouble with the make command after running cmake (although not sure if the issue is related to cmake). I inst... More on github.com
🌐 github.com
30
February 1, 2021
[HELP] MSYS2 And "make" command.

I don't use Pacman or Windows or MSYS2, but it looks like MSYS2 comes with Pacman, which is a tool for downloading software. You will use it to install both git and make. From my Googling, it looks like this is what you want to type into MSYS2:

pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain git subversion mercurial mingw-w64-i686-cmake mingw-w64-x86_64-cmake

The above command will install lots of nice development tools for you on Windows.

Also, if you are using Windows 10, I highly recommend installing the Windows Subsystem for Linux. It is a full Bash shell on Windows, where you can use more standard tools than MSYS2. https://docs.microsoft.com/en-us/windows/wsl/install-win10

More on reddit.com
🌐 r/MechanicalKeyboards
12
5
June 4, 2018
c - How to compile makefile using MinGW? - Stack Overflow
The easiest way to install make for MinGW that I found is ... Copy the contents to your Git/mingw64/ directory, merging the folders, but do NOT overwrite/replace any existing files · navigate to the Git/mingw64/ directory via $(cd /; explorer .) See https://www.pascallandau.com/blog/setting-up-git-bash-mingw-msys2... More on stackoverflow.com
🌐 stackoverflow.com
🌐
MSYS2
packages.msys2.org › packages › mingw-w64-x86_64-make
Package: mingw-w64-x86_64-make - MSYS2 Packages
https://cgit.git.savannah.gnu.org/cgit/make.git · License(s): GPL-3.0-or-later · Version: 4.4.1-4 · External: Anitya · make · Arch Linux · 4.4.1 · AUR · 4.4.1 · Cygwin · 4.4.1 | make-4.4.1-2-src.tar.xz · Gentoo · 4.4.1-r102 · Repology · make · Installation: pacman -S mingw-w64-x86_64-make 📋 · File: https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-make-4.4.1-4-any.pkg.tar.zst ·
🌐
SourceForge
sourceforge.net › home › browse › msys2 › mailing lists
Thread: [Msys2-users] install make? | MSYS2
Join/Login · Business Software · Open Source Software · For Vendors · About · Articles · Create · SourceForge Podcast · Site Documentation · Subscribe to our Newsletter
🌐
Anaconda.org
anaconda.org › anaconda › msys2-make
msys2-make - anaconda | Anaconda.org
October 18, 2024 - Install msys2-make with Anaconda.org. GNU make utility to maintain groups of programs (repack of MSYS2-packages make for MSYS)
🌐
MSYS2
msys2.org › wiki › Porting
Porting - MSYS2
The latter one is called mingw32-make on command line, is fully native and doesn't depend on msys2 shells. The downside is that it doesn't work with many Makefiles. Unless you know what you're doing, use the regular make. You can use the following Makefile snippet to detect whether you are running GNU make from an MSYS or an MSYS2 shell.
🌐
MSYS2
packages.msys2.org › packages › mingw-w64-ucrt-x86_64-make
Package: mingw-w64-ucrt-x86_64-make - MSYS2 Packages
https://cgit.git.savannah.gnu.org/cgit/make.git · License(s): GPL-3.0-or-later · Version: 4.4.1-4 · External: Anitya · make · Arch Linux · 4.4.1 · AUR · 4.4.1 · Cygwin · 4.4.1 | make-4.4.1-2-src.tar.xz · Gentoo · 4.4.1-r102 · Repology · make · Installation: pacman -S mingw-w64-ucrt-x86_64-make 📋 · File: https://mirror.msys2.org/mingw/ucrt64/mingw-w64-ucrt-x86_64-make-4.4.1-4-any.pkg.tar.zst ·
Find elsewhere
🌐
Frontistr
manual.frontistr.com › en › install › install_11.html
Installation procedure to Windows10(Makefile.conf) - FrontISTR ver. 5.6
Download 64bit installer named msys2-x86_64-xxxxxxxx.exe (xxxxxxxx is version number) and install it.
🌐
GitHub
gist.github.com › stechio › 8f7e45ef5448ae4907df90d96ab444fa
64-bit GNU toolchain setup on Windows (via MSYS2/MinGW64) · GitHub
MSYS2: download and launch its installer · 64-bit GNU toolchain: open the MSYS2 terminal via Windows Start Menu and launch the following pacman (package manager) command: pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-gdb mingw-w64-x86_64-cmake ...
🌐
GitHub
github.com › alphacep › vosk-api › issues › 395
Error running Make on Windows - msys-MinGW64 · Issue #395 · alphacep/vosk-api
February 1, 2021 - AzureAD+PeterKronenberg@DESKTOP-BT1FBOL MINGW64 /opt/kaldi/tools/clapack2/BUILD $ make -d GNU Make 4.3 Built for x86_64-pc-msys Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it.
Author   alphacep
🌐
Erlang
erlang.mk › guide › installation.html
Chapter 1. Installation
C:\> C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy bash pacman pacman-mirrors msys2-runtime" C:\> C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syu" After following these instructions, you can install GNU Make, Git and any other required software.
🌐
Reddit
reddit.com › r/mechanicalkeyboards › [help] msys2 and "make" command.
r/MechanicalKeyboards on Reddit: [HELP] MSYS2 And "make" command.
June 4, 2018 -

Hi, guys.

I have sat here for hours trying to figure out what is wrong with what I am doing. I have Googled and re-Googled. Read multiple forums and random FAQs. And searched this Reddit, but to no avail. Now, I am desperate; and slightly exhausted from being disappointed. : (

I recently got myself a Zeal60 Rev3 and decided to pick up QMK and learn a little. I have zero knowledge in programming / Linux. So, whatever I have read and tried are all based on these videos: https://youtu.be/-HLV6mUxNnU; which someone translated it to text here: https://www.reddit.com/r/olkb/comments/7pnsrc/qmk_guide_for_flashing_keyboards/.

I got stuck at Part 2 of the video series (https://youtu.be/oj9UBR1eW6I), where it asked me to "git clone" the link from the fork from GitHub's QMK Firmware page (I kept getting "-bash: git: command not found" error) and decided to skip that part since the text version says it is optional.

I carried on and got to Part 4 of the video series (https://youtu.be/u1lweFStx1U) where I now have to make/compile to get the .hex file with the "make" command. To my despair, I am now revisited with the "command not found" error, saying; "-bash: make: command not found". T___T;

I cannot find anything that I have missed or whatsoever, so, if anyone can help, advice and/or point me in the right direction, I would highly appreciate it.

🌐
Pascallandau
pascallandau.com › blog › setting-up-git-bash-mingw-msys2-on-windows
Setting up Git Bash / MINGW / MSYS2 on Windows | pascallandau.com
April 12, 2023 - In this article I'll document my process for setting up Git Bash / MINGW / MSYS2 on Windows including some additional configuration (e.g. installing make and apply some customizations via .bashrc).
Top answer
1 of 9
58

Excerpt from http://www.mingw.org/wiki/FAQ:

What's the difference between make and mingw32-make?

The "native" (i.e.: MSVCRT dependent) port of make is lacking in some functionality and has modified functionality due to the lack of POSIX on Win32. There also exists a version of make in the MSYS distribution that is dependent on the MSYS runtime. This port operates more as make was intended to operate and gives less headaches during execution. Based on this, the MinGW developers/maintainers/packagers decided it would be best to rename the native version so that both the "native" version and the MSYS version could be present at the same time without file name collision.

So,look into C:\MinGW\bin directory and first make sure what make executable, have you installed.(make.exe or mingw32-make.exe)

Before using MinGW, you should add C:\MinGW\bin; to the PATH environment variable using the instructions mentioned at http://www.mingw.org/wiki/Getting_Started/

Then cd to your directory, where you have the makefile and Try using mingw32-make.exe makefile.in or simply make.exe makefile.in(depending on executables in C:\MinGW\bin).

If you want a GUI based solution, install DevCPP IDE and then re-make.

2 of 9
14

You have to actively choose to install MSYS to get the make.exe. So you should always have at least (the native) mingw32-make.exe if MinGW was installed properly. And if you installed MSYS you will have make.exe (in the MSYS subfolder probably).

Note that many projects require first creating a makefile (e.g. using a configure script or automake .am file) and it is this step that requires MSYS or cygwin. Makes you wonder why they bothered to distribute the native make at all.

Once you have the makefile, it is unclear if the native executable requires a different path separator than the MSYS make (forward slashes vs backward slashes). Any autogenerated makefile is likely to have unix-style paths, assuming the native make can handle those, the compiled output should be the same.

🌐
GitHub
github.com › msys2 › msys2-installer › blob › main › make-msys2-installer
msys2-installer/make-msys2-installer at main · msys2/msys2-installer
echo "[Creating installer archive...]" · local _data="${_ifwroot}"/packages/com.msys2.root/data · pushd / > /dev/null · mkdir -p "${_data}" 7z a -mx9 -md128m "${_data}/msys64.7z" "${_newmsys}/"* popd > /dev/null · } · create_archives() { echo "[Creating tarball...]" pushd "${_newmsysbase}" > /dev/null ·
Author   msys2