MinGW、MinGW-w64 和 MinGW-builds 之间有什么区别? [英] What is the difference between MinGW, MinGW-w64 and MinGW-builds?

查看:82
本文介绍了MinGW、MinGW-w64 和 MinGW-builds 之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MinGWMinGW-w64MinGW-builds一个>?

我应该使用哪一个来在 Windows 8 机器上使用 Eclipse IDE 编译 c++ 11 源代码?

And which one should I use to compile c++ 11 source code with the Eclipse IDE on a Windows 8 machine?

推荐答案

MinGW 是 Windows 的 GCC 端口.并非所有的 Windows API 都受支持(但对于许多程序而言,支持的东西就足够了)并且它仅适用于 32 位程序(通常也可以在 64 位 Windows 上运行,但有些不能,而且你不能将它们编译为 64 位).

MinGW is a GCC-port for Windows. Not all of the Windows API is supported (but for many programs the supported stuff is sufficient) and it´s only for 32bit-Programs (which often can run on 64bit-Windows too, but some can´t, and you can´t compile them as 64bit).

MinGW-w64 是一个改进的版本,它支持 32 位和 64 位,以及更多的 WinAPI(仍然不是全部,因为那是很多工作,但比 MinGW 多).

MinGW-w64 is a improved version which supports both 32bit and 64bit, and some more of the WinAPI (still not all, because thats much work, but more than MinGW).

MinGW-w64 仅提供其源代码,但没有仅使用"的二进制文件;编译器.

MinGW-w64 only provides their source code, but no binaries to "just use" the compiler.

MinGW-builds 是一个有点独立的项目,以最有用的配置提供二进制文件.要获得专门构建的 MinGW-w64,仍然可以手动编译.

MinGW-builds is a somewhat separate project to provide binaries in the most useful configurations. To get a specialized build of MinGW-w64, manual compiling is still possible.

如果不需要任何异常情况,使用 MinGW-builds 自安装程序是最简单的方法.另请参见此处以获取有关自行安装程序的帮助.

Using the MinGW-builds self-installer is the easiest way, if nothing unusual is needed. Also see here for help with the self-installer.

这篇关于MinGW、MinGW-w64 和 MinGW-builds 之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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