This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Author

make: mingw32-gcc-4.7.2: Command not found

Rajasekhar Karanam
Greenhorn

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
Greenhorn

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: make: mingw32-gcc-4.7.2: Command not found
 
Similar Threads
c++ eclipse plugin?
Error with the makefile in eclipse
Learning JNI for java,c,cpp combined programming
which is the forum for c language?
c++ not running fullscreen in windows seven?