Thread: Am I using Cygwin for the wrong reason?

  1. #1
    C lover
    Join Date
    Oct 2007
    Location
    Virginia
    Posts
    266

    Am I using Cygwin for the wrong reason?

    I use Cygwin sometimes because I want a Unix-Like environment on windows. I use things like sys/types, sys/sockets, arpa/inet and a bunch of other things. I know windows has the one header winsock(2). Should I use Cygwin or what? Also, what is the difference between it and MinGW?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    MinGW | Minimalist GNU for Windows
    MinGW, a contraction of "Minimalist GNU for Windows", is a minimalist development environment for native Microsoft Windows applications.
    MinGW seems to be about getting something GNU-ish to compile your win32 programs.

    Cygwin on the other hand attempts to insulate you from win32 and give you a near POSIX environment, at a small performance cost, without the hassle of installing a full Unix/Linux on dual boot or a virtual machine.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hi, Quiz C program Assignment updated
    By Eman in forum C Programming
    Replies: 19
    Last Post: 11-22-2009, 04:50 PM
  2. What am I doing wrong ?
    By scottjge in forum C Programming
    Replies: 6
    Last Post: 10-01-2009, 11:55 AM
  3. from dev-c++ mingw to netbeans cygwin
    By yahn in forum C++ Programming
    Replies: 10
    Last Post: 01-14-2009, 08:18 AM
  4. Problems with compiling code in cygwin
    By firyace in forum C++ Programming
    Replies: 4
    Last Post: 06-01-2007, 08:16 AM
  5. Cygwin Server
    By osal in forum Networking/Device Communication
    Replies: 0
    Last Post: 03-07-2005, 12:58 PM