Description
Currently, when installing mingw, you copy mingw32-make.exe to make.exe.
I suggest that this shouldn't be done.
Those are two different flavors of Make with different bugs/quirks, and non-trivial makefiles written for one will not work with another. When I see make.exe on Windows, my expectation is that it's Cygwin-based, which is e.g. what MSYS2 does (they have both Cygwin-based make.exe and MinGW-based mingw32-make.exe).
We just spent some time debugging a misbehaving makefile, only to realize that we accidentally ran it using the preinstalled make.exe (which is mingw32-make.exe in disguise) rather than MSYS2 make.exe.
Here's an example of a mingw32-make-specific quirk, it's the one we ran into. The annoying part is that I knew about this, but figured that it couldn't be affecting us since we weren't invoking mingw32-make explicitly.
Platforms affected
Runner images affected
Image version and build link
20260428.139.2
Is it regression?
I think not
Expected behavior
make.exe either shouldn't be in the PATH at all, or should be a proper cygwin-based make.exe
Actual behavior
make.exe is a copy of mingw32-make.exe
Repro steps
Description
Currently, when installing mingw, you copy
mingw32-make.exetomake.exe.I suggest that this shouldn't be done.
Those are two different flavors of Make with different bugs/quirks, and non-trivial makefiles written for one will not work with another. When I see
make.exeon Windows, my expectation is that it's Cygwin-based, which is e.g. what MSYS2 does (they have both Cygwin-basedmake.exeand MinGW-basedmingw32-make.exe).We just spent some time debugging a misbehaving makefile, only to realize that we accidentally ran it using the preinstalled
make.exe(which ismingw32-make.exein disguise) rather than MSYS2make.exe.Here's an example of a
mingw32-make-specific quirk, it's the one we ran into. The annoying part is that I knew about this, but figured that it couldn't be affecting us since we weren't invokingmingw32-makeexplicitly.Platforms affected
Runner images affected
Image version and build link
20260428.139.2
Is it regression?
I think not
Expected behavior
make.exeeither shouldn't be in the PATH at all, or should be a proper cygwin-basedmake.exeActual behavior
make.exeis a copy ofmingw32-make.exeRepro steps