Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GnuWin32 or Cygwin - from a programmers point of view

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...

like image 889
Kornel Kisielewicz Avatar asked Aug 30 '11 14:08

Kornel Kisielewicz


People also ask

What is Cygwin used for?

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.

Is Cygwin a compiler?

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.

Is Cygwin still supported?

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.


1 Answers

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.

like image 153
Zombo Avatar answered Oct 24 '22 14:10

Zombo