Eclipse cannot find my MinGW toolchain for C / C ++

I have a problem. Many have the same question, but I did not find the answer.

I installed gcc-4.9.0 on my computer, but Eclipse will not find it. I used the default installation path:

C:\MinGW
+4
source share
5 answers
  • Setting the PATH variable, add something like: "C: \ Program Files (x86) \ mingw-w64 \ i686-6.2.0-win32-dwarf-rt_v5-rev1 \ mingw32 \ bin"
  • DO COPY gcc.exe for mingw32-gcc.exe in your path above

. http://wiki.eclipse.org/CDT/User/FAQ#I_installed_MinGW_toolchain_on_my_PC_but_Eclipse_won.27t_find_it.

+1

Eclipse "PATH" . , Eclipse MinGW, bin- MinGW (, "C:\MinGW\bin" ) "PATH".

P.S. Eclipse :)

0

, .
:
Eclipse "" > "" > "C/++" > "" > "". , PATH , . , \bin C:\MinGW . \bin. , C:\MinGW\bin, .
, .

0

. Eclipse Luna SR2 4.4.2, Win 7 SP1, MinGW-w64, , MINGW_HOME Win 7 Eclipse. ( Windows.)

MinGW-w64 "C: Program Files\mingw-w64\x86_64-4.9.2-win32-seh-rt_v4_rev2", MINGW_HOME "C: Program Files\mingw-w64\x86_64-4.9.2-win32-seh-rt_v4_rev2\mingw64", (bin, etc, include, lib,...).

Win 7 " " → → → . MINGW_HOME " ".

0

, :

MinGW , :

(https://www.youtube.com/watch?v=zLpaYVIoXqc)

, , " , platorm". MinGW GCC

Create your code, but first create it using CTRL + B after this work of mine worked perfectly.

I would like it to be useful to other people who see it.

0
source

Source: https://habr.com/ru/post/1539000/


All Articles