Tags: cygwin, gnuwin, heardabout, linux, mks, ports, power, programming, run, toolkit, unix, utilities, windows

Cygwin vs Gnuwin

On Programmer » Unix & Linux

8,326 words with 8 Comments; publish: Tue, 29 Apr 2008 19:01:00 GMT; (20046.88, « »)

I want to get the power of UNIX utilities to run on windows. I've heard

about Cygwin and GnuWin ports of UNIX utilities (also MKS Toolkit, but I'm

too cheap to buy.) I presume Cygwin and GnuWin are very similar, but is

one preferable to another? Reasons for preferences? Any others I should

consider?

Thanks

All Comments

Leave a comment...

  • 8 Comments
    • --BEGIN PGP SIGNED MESSAGE--

      Hash: SHA1

      Jack Vogel wrote:

      > I want to get the power of UNIX utilities to run on windows. I've heard

      > about Cygwin and GnuWin ports of UNIX utilities (also MKS Toolkit, but

      I'm

      > too cheap to buy.) I presume Cygwin and GnuWin are very similar,

      I use CygWin, and have looked at GnuWin, and they are not as similar as

      you might think.

      CygWin is an implementation of a Unix subsystem for MSWindows, and a set

      of unix tools that run in this subsystem.

      GnuWin is a set of Open Source Software tools that run in native

      MSWindows, as MSWindows (not Unix) programs.

      > but is one preferable to another?

      It depends on your goals.

      If you want free (OSS) applications, like you can find in many Linux

      systems, then GnuWin seems ideal.

      If you want Unix tools and a Unix system to run them in, then CygWin

      seems ideal.

      > Reasons for preferences?

      Complexity? Utility?

      If you want OpenOffice or The Gimp, then GnuWin will work.

      If you want lex or yacc or grep or gcc, then CygWin is better.

      > Any others I should consider?

      Along the same lines as CygWin would be Microsoft's (misnamed) Windows

      Services for Unix.

      > Thanks

      - --

      Lew Pitcher, IT Consultant, Enterprise Application Architecture

      Enterprise Technology Solutions, TD Bank Financial Group

      (Opinions expressed here are my own, not my employer's)

      --BEGIN PGP SIGNATURE--

      Version: GnuPG v1.2.4 (MingW32)

      iD8DBQFA+BlzagVFX4UWr64RAptyAJ40cgCzSFZZ

      tKYTTKrY+Nr4h1BzyQCgnoiq

      wuT7uvTswCn32ymWYfhHUpY=

      =zYvT

      --END PGP SIGNATURE--

      #1; Tue, 29 Apr 2008 19:02:00 GMT
    • On Fri, 16 Jul 2004 14:07:50 -0400, Lew Pitcher <Lew.Pitcher.unix-linux.todaysummary.com.td.com>

      wrote:

      >

      > GnuWin is a set of Open Source Software tools that run in native

      > MSWindows, as MSWindows (not Unix) programs.

      > Jack Vogel wrote:

      > It depends on your goals.

      > If you want free (OSS) applications, like you can find in many

      > Linux systems, then GnuWin seems ideal.

      > If you want Unix tools and a Unix system to run them in, then

      > CygWin seems ideal.

      >

      In addition to the above, there is also Uwin from AT&T

      http://www.research.att.com/sw/tools/uwin/

      Relative to Lew's comparison above it is more similar in nature to

      Cygwin than GnuWin. If you are doing *nix type development, GnuWin

      comes with gcc natively, whereas Uwin can interface with several free

      or commercial compilers and also has gcc available. Cygwin uses bash

      for its shell; Uwin defaults to ksh, but comes with csh and also has

      a port of bash available. I don't believe that the ports of either

      bash or gcc are very recent.

      There are probably more user-contributed goodies available for Cygwin

      than for Uwin. I've used both in the past and in very rough terms,

      they are largely comparable aside from the above differences. All of

      this is naturally IMO and YMMV.

      Mike

      Michael Zawrotny

      Institute of Molecular Biophysics

      Florida State University | email: zawrotny.unix-linux.todaysummary.com.sb.fsu.edu

      Tallahassee, FL 32306-4380 | phone: (850) 644-0069

      #2; Tue, 29 Apr 2008 19:03:00 GMT
    • On 16 Jul 2004 12:01:22 -0500, Jack Vogel wrote:

      > I want to get the power of UNIX utilities to run on windows. I've heard

      > about Cygwin and GnuWin ports of UNIX utilities (also MKS Toolkit, but I'm

      > too cheap to buy.) I presume Cygwin and GnuWin are very similar, but is

      > one preferable to another? Reasons for preferences? Any others I should

      > consider?

      This explains some of the differences:

      http://www.xraylith.wisc.edu/~khan/...in32-ports.html

      For a quick start, try installing this small package of common

      standalone GNU WIN32 utilities, which will give you a taste of what's

      available.

      http://unxutils.sourceforge.net

      (there's a link at the bottom for man pages)

      For more information see

      <[url]http://directory.google.com/Top/Computers/Software/Operating_Systems/Unix/Win32[/

      url]>

      --

      Mark R. Blain, markrblain.unix-linux.todaysummary.com.earthlink.invalid

      (change .INVALID to .NET to reply)

      #3; Tue, 29 Apr 2008 19:04:00 GMT
    • "Lew Pitcher" <Lew.Pitcher.unix-linux.todaysummary.com.td.com> wrote in message

      news:1QUJc.40936$RD4.2023550.unix-linux.todaysummary.com.news20.bellglobal.com...

      > --BEGIN PGP SIGNED MESSAGE--

      > Hash: SHA1

      > I use CygWin, and have looked at GnuWin, and they are not as similar as

      > you might think.

      > CygWin is an implementation of a Unix subsystem for MSWindows, and a set

      > of unix tools that run in this subsystem.

      > GnuWin is a set of Open Source Software tools that run in native

      > MSWindows, as MSWindows (not Unix) programs.

      Just to muddy the water further, if you put the cygwin bin directory in your

      Windows PATH, many of the cygwin utilities will also work from a Windows

      command prompt. -Wm

      #4; Tue, 29 Apr 2008 19:05:00 GMT
    • On Sun, 18 Jul 2004 10:55:11 -0500, William wrote:

      > Just to muddy the water further, if you put the cygwin bin directory in yo

      ur

      > Windows PATH, many of the cygwin utilities will also work from a Windows

      > command prompt. -Wm

      That doesn't muddy the water at all. If programs compiled to require

      CYGWIN.DLL (the default) can find it, then they'll load. You can

      start them from bash, zsh, Windows' CMD.EXE or any other shell you've

      installed.

      For help with some of the differences when using cmd.exe, see the

      sections "Mapping pathnames" and "Using Cygwin effectively with

      Windows" in the Cygwin User's Guide:

      <http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html>

      --

      Mark R. Blain, markrblain.unix-linux.todaysummary.com.earthlink.invalid

      (change .INVALID to .NET to reply)

      #5; Tue, 29 Apr 2008 19:06:00 GMT
    • "William" <Reply.unix-linux.todaysummary.com.NewsGroup.Please> writes:

      > Just to muddy the water further

      There is also the UWIN package from AT&T.

      Sending unsolicited commercial e-mail to this account incurs a fee of

      $500 per message, and acknowledges the legality of this contract.

      #6; Tue, 29 Apr 2008 19:07:00 GMT
    • 2004-07-16, 20:25(+00), Michael Zawrotny:

      [...]

      > Cygwin uses bash

      > for its shell; Uwin defaults to ksh, but comes with csh and also has

      > a port of bash available. I don't believe that the ports of either

      > bash or gcc are very recent.

      [...]

      Cygwin sh is a ash derivative (as BSDs sh), not bash.

      And zsh, tcsh, bash, pdksh and ksh93 are available for cygwin.

      The main difference between uwin and cygwin are the licenses.

      Stephane

      #7; Tue, 29 Apr 2008 19:08:00 GMT
    • "Mark R. Blain" <see_my_sig.unix-linux.todaysummary.com.for.my.real.address> wrote in message

      news:1ov4ytoark5hk$.1chfvayknmbr1$.dlg.unix-linux.todaysummary.com.40tude.net...

      > On Sun, 18 Jul 2004 10:55:11 -0500, William wrote:

      >

      your

      > That doesn't muddy the water at all. If programs compiled to require

      > CYGWIN.DLL (the default) can find it, then they'll load. You can

      > start them from bash, zsh, Windows' CMD.EXE or any other shell you've

      > installed.

      The implication in the message I responded to was that they ran only

      under one of the cygwin shells and you wanted GnuWin if you needed

      unix-like commands for Windows (cmd.exe). You are right, but missed

      the point. -Wm

      #8; Tue, 29 Apr 2008 19:09:00 GMT