【问题标题】:Setting up MinGW with Eclipse Galileo on Windows在 Windows 上使用 Eclipse Galileo 设置 MinGW
【发布时间】:2010-01-10 00:30:03
【问题描述】:

无法让它在 Windows 7 64 位上运行。

【问题讨论】:

  • 没有问题的答案是没有用的(参见:42)。你有能力写两者。

标签: eclipse gcc mingw


【解决方案1】:

好的,这就是我的工作方式:

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++ > New CDT Project Wizards > Makefile project > mark PE Windows Parser
7) 仍然在 Window > Preferences 菜单中,转到 C/C++ > Debug > Debugger Types 并标记 gdb Debugger
8) 确认

【讨论】:

    【解决方案2】:

    这是另一个在 Eclipse 上安装 MinGW 的好教程:http://chrismwright.wordpress.com/2012/10/13/installing-eclipse-for-cc-and-mingw/

    在整个步骤中添加一些图片可能会更好,但仍然是一个非常全面的指南。

    【讨论】:

      猜你喜欢
      • 2013-07-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-05-13
      • 2023-04-08
      • 2010-12-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多