anAppBuilder
asked on
Eclipse Luna does not see MinGW
I want to set up Eclipse Luna to compile c++11 on Win 7 32 bit using the MinGW tool chain. I installed:
mingw-w64-install.exe which installs with bin here: C:\Program Files\mingw-w64\i686-4.9.2 -posix-dwa rf-rt_v3-r ev1\mingw3 2. I need to use the 32 bit tools from mingw-w64 to get support for c++11
and MSYS-20111123.zip from here: http://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/MSYS%20%2832-bit%29/ that I extracted to C:\msys
Eclipse Luna did not see MinGW tool chain.
I copied C:\Program Files\mingw-w64\i686-4.9.2 -posix-dwa rf-rt_v3-r ev1\mingw3 2 co c:\ and renamed it MinGW. Eclipse now find it C++>Build>Environment for the project.
It does not find msys.
Any suggestions?
mingw-w64-install.exe which installs with bin here: C:\Program Files\mingw-w64\i686-4.9.2
and MSYS-20111123.zip from here: http://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/MSYS%20%2832-bit%29/ that I extracted to C:\msys
Eclipse Luna did not see MinGW tool chain.
I copied C:\Program Files\mingw-w64\i686-4.9.2
It does not find msys.
Any suggestions?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
One more comment. I believe that what I posted above is a work around for the fact that this bug is not yet completely fixed in Eclipse Luna : https://bugs.eclipse.org/bugs/show_bug.cgi?id=380598 Bug 380598 - MinGW 64bit toolchain not detected.
ASKER
Finally, the link in Sara's post will get you in a few steps t the latest version of MinGW 64 but here's the direct link: http://sourceforge.net/projects/mingw-w64/files/latest/download?source=files
ASKER
Thank you, Sara for the link.
I hope the additional comments I posted will be helpful to anyone who is trying to use MinGW 64 with Eclipse Luna
I hope the additional comments I posted will be helpful to anyone who is trying to use MinGW 64 with Eclipse Luna
ASKER
I can report what worked. After 2 days of checking paths, searching the web, etc.
I uninstalled/removed Eclipse and MinGW (all versions)
I downloaded and extracted a clean copy of the Eclipse Luna IDE for C/C++
I installed the 32 bit MinGW installer and used it to install the basic, C/C++, and msys components of MinGW in C:'MinGW following the instructions here: http://www.mingw.org/wiki/Getting_Started including setting up fstab to get the Windows mount point
At this point the paths in Eclipse were correct and I could do a c++ (but not a c++11) compile
The old 32 MinGW does not support c++11
Therefore
i renamed C:'MinGW
I now installed mingw-w64
I copied the C:\Program Files\mingw-w64\x86_64-4.8
I copied msys into my new MinGW folder
Eclipse is still happy and compiles work
I also added -std=c++11 to the configuration in Eclipse in C++ General>Preprocessor Include Paths>CDT GCC Built-in Compiler Settings. This may not be needed since I have a make file, but I have not tested removing it.