Generator for Eclipse CDT4 Unix Makefiles - Error

Hi Alain:

I found and fixed the problem with this gcc.exe — broken error

First, I fixed all the path issues, and confirmed that MinGW files for gcc.exe, g++.exe, and make.exe were all okay and available via PATH.

Then by using a simple main.c file for testing, and using cmake -G “Unix Makefiles” to test the operation, I found that the cmake tries to run make.exe directly from:

C:\Program Files\Cmake folder

and since there was no make.exe in that particular folder, I copied the MinGW\bin\ make.exe file into that CMake sub-folder, makng a duplicate that is not found by the PATH. After putting a copy of make.exe into that particular CMake sub-fodler, then the Generate command worked.

So the gcc.exe —broken error was not specific enough to find the real issue, but I found the real cause.

Thanks again for all your help and encouragement.

Garry.