在Windows上使用Eclipse Galileo设置MinGW [英] Setting up MinGW with Eclipse Galileo on Windows

查看:118
本文介绍了在Windows上使用Eclipse Galileo设置MinGW的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法使其在Windows 7 64位上工作。

解决方案

好的,这是我如何工作的: / p>

1)在mingw安装期间安装makefile,c和c ++编译器。必须安装在C:\mingw上

2)转到C:\mingw\bin,复制mingw-make.exe文件,并将副本重命名为make.exe

3)添加C:\mingw\bin到PATH环境变量中

4)下载gdb.exe调试器并将其放在C:\mingw\ bin文件夹

5)将CDT插件安装到Eclipse(如果尚未安装)

6)在Eclipse中,转到窗口>首选项。现在选择C / C ++>新CDT项目向导> Makefile项目>标记PE Windows解析器

7)仍然在窗口>首选项菜单中,去C / C ++>调试>调试器类型并标记gdb调试器>
8)确认


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

解决方案

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

这篇关于在Windows上使用Eclipse Galileo设置MinGW的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆