MinGW,MinGW-w64和MinGW-build有什么区别? [英] What is the difference between MinGW, MinGW-w64 and MinGW-builds?
问题描述
MinGW , MinGW-w64 和 MinGW-builds < a>?
What are the differences between MinGW, MinGW-w64 and MinGW-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-build有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!