MSYS2和Cygwin之间的差异 [英] Differences between MSYS2 and Cygwin

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

问题描述

传统MSYS庆典一直被认为逊色于Cygwin的庆典。
前者是内MinGW的一个辅助工具,用于运行autoconf的脚本。
但现在有MinGW的-W64和MSYS2。后者附带了一个甜蜜的像吃豆子包管理器和优雅的贝壳一样的zsh,所以我不知道是否还有在仿真层的差距。

Traditionally MSYS bash has been considered inferior to Cygwin bash. The former was an ancillary tool inside MinGW intended for running autoconf scripts. But now there is MinGW-w64 and MSYS2. The latter ships with a sweet pacman like package manager and elegant shells like zsh, so I wonder if there is still a gap in the emulation layer.

我不要求你的的意见的位置,它的方式是不符合规则的SO,但具体与实际差异或Cygwin的的好处超过MSYS2一个shell和POSIX环境。

I am not asking your opinions here, which by the way is not compliant with SO rules, but specific and actual differences or benefits of Cygwin as a shell and POSIX environment over MSYS2.

推荐答案

传统MSYS庆典一直较低,但主要是因为Cygwin的仍然在积极发展而MSYS没有。 MSYS从Cygwin的版本1.3.3分叉和永不再同步,而MSYS2重​​新同步与定期Cygwin的项目。

Traditionally MSYS bash has been inferior, but mostly because Cygwin remained under active development whereas MSYS didn't. MSYS forked from Cygwin version 1.3.3 and never re-synced, whereas MSYS2 resyncs with the Cygwin project regularly.

我们没有一个甜蜜的像吃豆子包管理器,我们的Arch Linux的吃豆子包管理器的直接重新编译,因为我们可以实现的。

We don't have a "sweet pacman like package manager", we have as direct a re-compilation of Arch Linux's pacman package manager as we could achieve.

MSYS2没有cygwin.dll但它确实有MSYS-2.0.dll它做同样的事情(和一些之外)。具体来说,看起来像路径和PATH环境变量。运行Windows原生软件时,无功转换为Windows窗体。

MSYS2 doesn't have cygwin.dll but it does have msys-2.0.dll which does the same thing (and some more besides). Specifically, arguments that look like paths and the PATH env. var are converted to Windows form when running Windows-native software.

至于它是否慢,我预计会是非常小的差异,但MSYS2将是一个极少量慢由于额外的转换工作。再说,没准你会从内部MSYS2(如MinGW的-W64编译器)比你会从Cygwin的,这样会在MSYS2的青睐移回事情运行多个Windows原生软件。

As for whether it's slower, I expect there'd be very little difference but MSYS2 would be a tiny amount slower due to the extra conversion work. Then again, chances are you'll run more Windows-native software from within MSYS2 (such as MinGW-w64 compilers) than you would from Cygwin so that'll shift things back in MSYS2's favour.

这篇关于MSYS2和Cygwin之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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