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...
Cygwin is a collection of open source tools that allows Unix or Linux applications to be compiled and run on a Microsoft Windows operating system (OS) from within a Linux-like interface. Cygwin offers users a Linux-like experience in a Windows environment.
The 64 bit Cygwin compilers use a different data model than the Mingw and Microsoft compilers. For reference, see the Wikipedia entry on 64-bit computing. While the Mingw and Microsoft compilers use the LLP64 data model, Cygwin compilers use the LP64 data model, just like Linux.
Cygwin Support subscriptions are no longer being sold by Red Hat. Support is available only to customers who have previously purchased subscriptions and whose subscriptions are still active.
It is absolutely no contest
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.
Many program go years without being updated.
tar
2003coreutils
2005zlib
2005make
2006wget
2008I would not use GnuWin32 unless I had no other choice.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With