Is there a ported version of GNU Make for windows?
Is MinGW Make = GNU Make?
Please help me..

Dani AI

Generated

Short answer: yes — there are several Windows builds of GNU Make. MinGW provides a Windows-compiled GNU Make usually named mingw32-make (so was essentially right), and there are alternatives such as the GnuWin32 binary, the MSYS2/Cygwin make packages, or running the native GNU Make inside the Windows Subsystem for Linux.

A key point often missed: the executable being GNU Make does not guarantee full portability. Makefile recipes often depend on a POSIX shell and Unix utilities (sh, rm, cp, etc.). A MinGW-built mingw32-make is the GNU Make program, but if sh and coreutils are absent the recipes can fail. Common fixes are installing MSYS2/Cygwin (they provide sh and utilities), converting CRLF line endings to LF, or adapting recipes to use Windows commands.

Quick troubleshooting tips:

  • mingw32-make.exe is frequently shipped with MinGW; you can rename it to make.exe or add its folder to PATH if scripts expect make.
  • If recipe commands fail with “sh: not found” or missing rm, install MSYS2/Cygwin or add appropriate Unix tools to PATH.
  • For heavy POSIX makefiles, prefer MSYS2/Cygwin or WSL for the fewest compatibility problems.

Rename example (from the MinGW bin folder):

# Windows CMD
ren mingw32-make.exe make.exe

# MSYS/Unix shell
mv mingw32-make.exe make

References and installers: GNU Make, GnuWin32 make packages, MSYS2, Cygwin, and Windows Subsystem for Linux (WSL). For , use mingw32-make for simple Windows-native builds; use MSYS2/Cygwin/WSL when Makefiles expect a Unix environment.

Recommended Answers

All 2 Replies

Thx for your help..:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.