Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-06-2009
Member
 
Join Date: Mar 2009
Posts: 30
What is difference between mingw and cygwin

I need some basic information in relation to cygwin and mingw on the prescriptive of compiling c. What is the difference between them. Which one renders more binary. Is the codes in c language compiles under cygwin are compatible in window and unix. Which one from both of them is compatible in different platforms. What are major differences between them and how can I compare Cygwin with Mingw.
Reply With Quote
  #2  
Old 12-06-2009
Member
 
Join Date: May 2008
Posts: 2,008
Re: What is difference between mingw and cygwin

They both actually use gcc for compiling. The major difference between cygwin and mingw is that cygwin is a complete gnu toolset for windows. And the programs compiled in windows environment always need a cygwin.dll for running. While on the contrary the mingw is you can say a small set of compiling tools to generate win32 programs by using the libraries of Microsoft. So works as they are without any dll.s. Coming to the binary speed I don't believe that there is much difference.
Reply With Quote
  #3  
Old 12-06-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: What is difference between mingw and cygwin

I will say that cygwin is an best solution for those who don't feel great working in windows. It lets you to put the most suitable part of each enivironment. to fulfill your needs weather your are through porting and developing an application. Or just using it. In the case of mingw it maintains and distributes a multiple number of many core component along with supplementary packages. It also includes a different ports of gnu toochain like gcc and binutils which is translate in the equivalent packages.
Reply With Quote
  #4  
Old 12-06-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: What is difference between mingw and cygwin

Both cygwin and mingw are used to port unix software to windows but they both have distinctive approach. The main aim of cygwin is give a complete posix layer on top of the windows. It gives up performance where necessary for the compatibility part. This one is same which is found in linux and other unixt systems. On the other hand mingw aims to give a related functions and performance through windows api calls. It does not require any compatibility layer like dll as compare to cygwin. Thus here the programs are not required to distribute with the source code. But it is unable to compile some unix application because of it dependability on win 32 api calls which cannot gives a full posix api. But the same can be done by cygwin. The combination of both gives a small and self contained environment. This can be loaded in a removable media without affecting the registry files. Due to more functionality cygwin becomes more difficult to install and maintain.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "What is difference between mingw and cygwin"
Thread Thread Starter Forum Replies Last Post
Difference between NFS and FTP Agneya Networking & Security 5 05-02-2010 03:49 AM
Cygwin doesn't work in Windows 7 Axton Windows Software 5 15-09-2009 11:43 AM
What is the difference between DAO, RDO and ADO? RadhaV Software Development 4 28-02-2009 05:59 PM
What is Difference Between C & C++???? nafiskhatri Software Development 1 20-02-2009 01:02 AM
Difference between TCP/IP and OSI Amaresh Technology & Internet 5 02-02-2009 11:16 AM


All times are GMT +5.5. The time now is 03:57 AM.