问题
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
2003coreutils
2005zlib
2005make
2006wget
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