> assignment, then you must take that up with the upstream GNU make
#Mingw make command not found windows
> If you think it is a bug that you can't use a conditional makefile After installing MinGW, compile the program to make the Windows executable by placing the files Makefile and DialogHello.c in the same folder and type these commands at the command prompt in that folder: 'c:\MinGW\bin\mingw32-make.exe' all DialogHello.exe And now you have a windows executable you have compiled yourself without an. I know, but my point is that the currently shipped bundle of GCC and (both implementations of) MAKE in MinGW is broken in a way that it cannot run the most *simple* Makefiles *without* any further user action. > autoconf's AC_PROG_CC to propagate the appropriate correct assignment to Alternatively, assign CC = in Makefile.in, and use > ln /mingw/bin/gcc.exe /mingw/bin/cc.exe > For a user enacted work around, either set CC=gcc or simply run Yes, please provide a bin/gcc.exe in the mingw32-gcc-bin package. > distributors do - either link or copy /mingw/bin/gcc.exe to > By far the simplest solution would surely be to do as the Linux > offerings, (MSYS make and mingw32-make respectively.įWIW, I am also opposed to patching if this would mean a deviation from the standard behaviour, but then. After installing MinGW, compile the program to make the Windows executable by placing the files Makefile and DialogHello.c in the same folder and type these commands at the command prompt in that folder: 'c:MinGWbinmingw32-make.exe' all DialogHello.exe And now you have a windows executable you have compiled yourself without an. I think the path construction is very sensitive, have your tried '/c/MinGW/bin/gcc.exe' or '/c:/MinGW/bin/gcc. > to agree a common patching strategy for each of our distinct GNU make
#Mingw make command not found Patch
> If a patch is required, then we would need both Cesar and Chris
If you think it is a bug that you can't use a conditional makefile assignment, then you must take that up with the upstream GNU make maintainers we will not address that issue. Alternatively, assign CC = in Makefile.in, and use autoconf's AC_PROG_CC to propagate the appropriate correct assignment to Makefile, via a configure script. If a patch is required, then we would need both Cesar and Chris to agree a common patching strategy for each of our distinct GNU make offerings, (MSYS make and mingw32-make respectively.īy far the simplest solution would surely be to do as the Linux distributors do - either link or copy /mingw/bin/gcc.exe to /mingw/bin/cc.exe (copy is the safest strategy, since few msw archiving tools seem to support file to file links even though NTFS has supported them forever, FAT32 does not).įor a user enacted work around, either set CC=gcc or simply run AFAIK, CC = cc is the built in default for GNU make, on all platforms I don't know if there is a build option to change it, or if it would require a patch.