This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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: 16

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: 25
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: make: mingw32-gcc-4.7.2: Command not found
jQuery in Action, 3rd edition