Eclipse can't find my MinGW toolchain for C/C++

Luchnik picture Luchnik · May 2, 2014 · Viewed 34.4k times · Source

I have a problem. Many have the same question but I didn't find the answer.

I installed gcc-4.9.0 on my PC but Eclipse won't find it. I used the default installation path:

C:\MinGW

Answer

rufushuang picture rufushuang · Sep 13, 2016
  1. Setting PATH variable, add something like: "C:\Program Files (x86)\mingw-w64\i686-6.2.0-win32-dwarf-rt_v5-rev1\mingw32\bin"
  2. DO COPY gcc.exe to mingw32-gcc.exe in your path above

For more information, see: http://wiki.eclipse.org/CDT/User/FAQ#I_installed_MinGW_toolchain_on_my_PC_but_Eclipse_won.27t_find_it.