GnuWin32 or Cygwin - from a programmers point of view

别说谁变了你拦得住时间么 提交于 2020-01-03 09:04:21

问题


For a programmer with Linux skills and a love of the command line, what is better to use on Windows - Cygwin or GnuWin32?

I tried to find a good comparison or a list of differences but couldn't find anything remotely complete. Also, I wondered whether this should be a superuser.com question, but decided against it, because I'm asking precisely for use of the tool for a programmer.

I'd like to know the common pitfalls and restrictions of each of the solutions. Interoperability with windows is an important issue, for my main development is done in MSVC...


回答1:


It is absolutely no contest

GnuWin32 does not include Bash

This is a critical part of the Cygwin distribution. Switching from cmd.exe to Bash was a huge boon to my productivity. cmd.exe is cripped in comparison to Bash.

GnuWin32 is old

Many program go years without being updated.

  • tar 2003
  • coreutils 2005
  • zlib 2005
  • make 2006
  • wget 2008

I would not use GnuWin32 unless I had no other choice.



来源:https://stackoverflow.com/questions/7244749/gnuwin32-or-cygwin-from-a-programmers-point-of-view

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!