Setting up MinGW with Eclipse Galileo on Windows

て烟熏妆下的殇ゞ 提交于 2019-12-31 05:27:10

问题


Couldn't get it working on Windows 7 64 bits.


回答1:


Okay, here's how I got it working:

1) Install the makefile, c and c++ compilers during the mingw installation. Must be installed on C:\mingw
2) Go to C:\mingw\bin, copy the "mingw-make.exe" file and rename the copy to make.exe
3) Add "C:\mingw\bin" to the the PATH environment variable
4) Download the gdb.exe debugger and put it in the C:\mingw\bin folder
5) Install the CDT plugin to Eclipse, if it isn't already installed
6) In Eclipse, go to Window > Preferences. Now pick C/C++ > New CDT Project Wizards > Makefile project > mark PE Windows Parser
7) Still in the Window > Preferences menu, go C/C++ > Debug > Debugger Types and mark gdb Debugger
8) Confirm




回答2:


Here's another good tutorial for installing MinGW on Eclipse: http://chrismwright.wordpress.com/2012/10/13/installing-eclipse-for-cc-and-mingw/

Could be better with some pictures throughout the steps, but still a pretty comprehensive guide.



来源:https://stackoverflow.com/questions/2035558/setting-up-mingw-with-eclipse-galileo-on-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!