什么是Cygwin的和MinGW之间的区别? [英] What is the difference between Cygwin and MinGW?

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

问题描述

我想让我的C ++项目的跨平台,我使用Cygwin / MinGW的考虑。
但它们之间的区别是什么呢?

I want to make my C++ project cross platform, and I'm considering using Cygwin/MinGW. But what is the difference between them ?

另一个问题是我是否能在没有Cygwin的/ MinGW的系统上运行二进制文件?

Another question is whether I will be able to run the binary on a system without Cygwin/MinGW ?

推荐答案

Cygwin的是一个尝试在Windows上创建一个完整的UNIX / POSIX环境。要做到这一点,它使用的DLL的各种。虽然这些DLL被GPLv3的覆盖+,其许可证包含异常不强制衍生作品由GPLv3的+覆盖。 MinGW的是C / C ++编译器套件,让您不必在这样的DLL依赖创建Windows可执行文件 - 你只需要正常的MSVC运行时,这是任何正常的Microsoft Windows安装的一部分

Cygwin is an attempt to create a complete UNIX/POSIX environment on Windows. To do this it uses various DLLs. While these DLLs are covered by GPLv3+, their license contains an exception that does not force a derived work to be covered by the GPLv3+. MinGW is a C/C++ compiler suite which allows you to create Windows executables without dependency on such DLLs - you only need the normal MSVC runtimes, which are part of any normal Microsoft Windows installation.

您还可以得到一个小的UNIX / POSIX般的环境,使用MinGW编译称为 MSYS 。它没有接近的Cygwin的所有功能任何地方,但非常适合想使用MinGW的程序员。

You can also get a small UNIX/POSIX like environment, compiled with MinGW called MSYS. It doesn't have anywhere near all the features of Cygwin, but is ideal for programmers wanting to use MinGW.

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

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