Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Toolchain "MinGW GCC" is not detected, but this is not true
Toolchain "MinGW GCC" is not detected, but this is not true [message #1151939] Wed, 23 October 2013 18:07 Go to next message
Harald Achitz is currently offline Harald AchitzFriend
Messages: 11
Registered: October 2013
Junior Member
Hi,

eclipse CDT tells me that Toolchain "MinGW GCC" is not detected.
but that is not true
the build builds, the indexer indexes, so everything works.
I configure my project with cmake

History: I had mingw installed, but switched to mingw64
I have tried all different PATH variables, folder names, using C:\MinGW with my mingw32, ...
nothing helps
eclipse still tells me that Toolchain "MinGW GCC" is not detected

what can I do?

Re: Toolchain "MinGW GCC" is not detected, but this is not true [message #1152572 is a reply to message #1151939] Thu, 24 October 2013 03:56 Go to previous messageGo to next message
Marc-André Laperle is currently offline Marc-André LaperleFriend
Messages: 256
Registered: July 2009
Senior Member
Have you looked at this?
http://wiki.eclipse.org/CDT/User/FAQ#I_installed_MinGW_toolchain_on_my_PC_but_Eclipse_won.27t_find_it.

The section might be outdated a bit but hopefully it will help you. Don't forget to restart Eclipse if you change your PATH environment variable.

Also, if all fails, you can try using the Cross GCC toolchain. It allows you to specify the path to gcc and a prefix. Say you have C:\MinGW64\bin\x86_64-w64-mingw32-gcc.exe. When you create a new project, you can set:
prefix: x86_64-w64-mingw32-
path: C:\MinGW64\bin

Then in your project properties, C/C++ Build, Settings, Binary Parsers, enable the PE Windows parser so it can see the .exe you build!
Re: Toolchain "MinGW GCC" is not detected, but this is not true [message #1153319 is a reply to message #1152572] Thu, 24 October 2013 14:28 Go to previous message
Harald Achitz is currently offline Harald AchitzFriend
Messages: 11
Registered: October 2013
Junior Member
Thanks for your hints

I have C:\MingW\bin in my PATH
in there is
c++.exe, g++.exe, ....
i686-w64-mingw32-c++.exe, i686-w64-mingw32-g++.exe, ...
mingw32-make.exe
and so on

generating mingw make files with CMake works, I generate them in a subfolder, than I tell eclipse to run the build there.
I have to spezify the mingw32-make.exe as make command, and everything works.

possible that mingw64 is cross compiling prefix requiring stuff?

do not know mingw64, thought it is a drop in replacement,
mingw has some c++11 issues, example std::to_string is not there.

possible I have to make some more research on this topic.

thanks again
Previous Topic:Question mark stated at .c and .h name
Next Topic:Makefile Analysis
Goto Forum:
  


Current Time: Fri Mar 29 07:54:53 GMT 2024

Powered by FUDForum. Page generated in 0.02655 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top