Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes C / C++ and the fly likes make: mingw32-gcc-4.7.2: Command not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark "make: mingw32-gcc-4.7.2: Command not found" Watch "make: mingw32-gcc-4.7.2: Command not found" New topic

make: mingw32-gcc-4.7.2: Command not found

Rajasekhar Karanam

Joined: Sep 18, 2011
Posts: 15

Hi Guys,

I am getting this error while executing a C program in NetBeans IDE.

CLEAN SUCCESSFUL (total time: 64ms)

mkdir -p build/Debug/MinGW-Windows/_ext/198714583
rm -f build/Debug/MinGW-Windows/_ext/198714583/HelloWorld.o.d
mingw32-gcc-4.7.2 -c -g -MMD -MP -MF build/Debug/MinGW-Windows/_ext/198714583/HelloWorld.o.d -o build/Debug/MinGW-Windows/_ext/198714583/HelloWorld.o ../Interview\ Preparation/HelloWorld.c
make: mingw32-gcc-4.7.2: Command not found
make: *** [build/Debug/MinGW-Windows/_ext/198714583/HelloWorld.o] Error 127

BUILD FAILED (exit value 2, total time: 462ms)

Also can someone explain me about executing multiple C programs in the same project.

Thanks in Advance!
Mike Blaszczak

Joined: Sep 02, 2013
Posts: 22
I don't think you're getting this error while executing a C program; it looks more like you're getting the error while trying to build the program. The error message means what it says; "mingw32-gcc-4.7.2" is not found. mingw is a particular version of a specific compiler; either you don't have it installed or it's not on the path used to find it.
Consider Paul's rocket mass heater.
subject: make: mingw32-gcc-4.7.2: Command not found
Similar Threads
c++ eclipse plugin?
which is the forum for c language?
c++ not running fullscreen in windows seven?
Learning JNI for java,c,cpp combined programming
Error with the makefile in eclipse