954,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

CYGWIN or MiniGW

I'm trying to set up NetBeans IDE on my Vista Home, and have a choice between those two compilers. Which one would you choose? I also want to have Code::Blocks.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

A full install of code::blocks would have installed a version of MinGW.

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

Hello,
In my opinion you can install MinGW and install Eclipse, but if you want to use NetBeans or other IDE you need to have MinGW.

Nathan Campos
Junior Poster
190 posts since Jul 2009
Reputation Points: 33
Solved Threads: 6
 

I had already installed cygwin, but based on your recommendations I deleted it and installed Code::Blocks with MiniGW. Code::Blocks appears to be working now. Then I tried to configure NetBeans to work with the MiniGW that's in Code::Blocks directory. The problem now is that there is no make.exe in that directory. So being the smart ass that I am I downloaded GNU Make for Windows, configured NetBeans to use that program. Apparently that version of make doesn't like the makefiles that NetBeans generates because it produced some sort of error.
make: *** [.validate-impl] Error 255

Anyone have a solution to this problem? Or know why a make.exe program was not installed with MiniGW?

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

There is a make.exe in the msys directory which is installed alongside the mingw directory.

That's where I found a make.exe anyway, though I'm not clear on what the installation steps were to get it.

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

There are differences in the make between POSIX and Windows, as well as some problems with the MSYS make (which is POSIX, AFAIK).

You should be using your ~MinGW\bin\mingw32-make.exe program when compiling in the non-POSIX (Windows native) environment, and the ~MSYS\...\bin\make.exe program when compiling under the MSYS POSIX environment.

Hope this helps.

Duoas
Postaholic
2,043 posts since Oct 2007
Reputation Points: 1,140
Solved Threads: 229
 

Netbeans does require the "make.exe" from MSYS! It's not possible to use the make from the MinGW ("mingw32-make.exe"). If you have renamed the file "mingw32-make.exe" to "make.exe" then u'll get the error "... make: *** [.validate-impl] Error 255 ..."

Use insteed the make from the directory

=>[MinGW]\msys\1.0\bin\make.exe

If the "make.exe" is not this directory then reinstall MinGW with the MSYS option and correct your path in your Netbeans configuration.

marantis
Newbie Poster
1 post since Jan 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You