From Seo Wiki - Search Engine Optimization and Programming Languages
|Original author(s)||Colin Peters|
|Initial release||1 July 1998|
|Stable release||4.4.0 / 2009-6-22|
|Preview release||4.5.0 / January 1, 2009|
|Written in||Ada, C, C++, Fortran, Java, Pascal|
|Operating system||Microsoft Windows|
|License||Public domain (headers)|
GNU General Public License (compiler and toolchain)
MinGW (Minimalist GNU for Windows), formerly mingw32, is a native software port of the GNU Compiler Collection (GCC) to Microsoft Windows, along with a set of freely distributable import libraries and header files for the Windows API. MinGW allows developers to create native Microsoft Windows applications. Included in MinGW are extensions to the Microsoft Visual C++ runtime library to support C99 functionality.
MinGW was originally called mingw32; the numbers were dropped in order to avoid the implication that it would be limited to 32-bit systems. Colin Peters authored the initial release in 1998, consisting only of a Cygwin port of GCC. Jan-Jaap van der Heijden created a Windows-native port of GCC and added binutils and make. Mumit Khan later took over development, adding more Windows-specific features to the package, including the Win32 headers by Anders Norlander. In 2000, the project was moved to SourceForge.net in order to solicit more assistance from the community and centralize its development.
Components of MinGW
The MinGW project maintains and distributes a number of different core components and supplementary packages, including various ports of GNU toolchain, such as GCC and binutils, translated into equivalent packages. These utilities can be used from the Windows command line or integrated into an IDE. MinGW supports libraries named according to the "<name>.lib" and"<name>.dll" conventions, in addition to the normal "lib<name>.a"convention common on *nix systems.
In addition, a component of MinGW known as MSYS (Minimal SYStem) provides win32 ports of a lightweight Unix-like shell environment including rxvt and a selection of POSIX tools sufficient to enable autoconf scripts to run.
The implementation of Win32 header files and Win32 import libraries for run-time linking are released under a permissive license, while the GNU ports are provided under the GNU General Public License. Binary downloads of both the complete MSYS package and individual MinGW GNU utilities are available from the MinGW site.
Comparison with Cygwin
MinGW forked from version 1.3.3 of Cygwin. Although both Cygwin and MinGW can be used to port Unix software to Windows, they have different approaches: Cygwin aims to provide a complete POSIX layer (similar to that found in a Linux or other Unix systems) on top of Windows, sacrificing performance where necessary for compatibility. Accordingly, this approach requires Win32 programs written with Cygwin to run on top of a copylefted compatibility library that must be distributed with the program, along with the program's source code. MinGW aims to provide native functionality and performance via direct Windows API calls. Unlike Cygwin, MinGW does not require a compatibility layer DLL and thus programs do not need to be distributed with source code.
Since MinGW uses Win32-API calls it cannot provide a full POSIX API; it is unable to compile some Unix applications that can be compiled with Cygwin. Specifically, this applies to applications that require POSIX functionality like fork(), mmap() or ioctl() and those that expect to be run in a POSIX environment. Applications written using a cross-platform library that has itself been ported to MinGW, such as SDL, wxWidgets, Qt, or GTK+ will usually compile as easily in MinGW as they would in Cygwin.
The combination of MinGW and MSYS provides a small, self-contained environment that can be loaded onto removable media without leaving entries in the registry or files on the computer. By providing more functionality, Cygwin becomes more complicated to install and maintain.
It is also possible to cross-compile Windows applications with MinGW-GCC under POSIX systems. This means that developers do not need a Windows installation with MSYS to compile software that will run on Windows without Cygwin.
- ↑ 1.0 1.1 Release information corresponds to the GCC package only.
- ↑ 2.0 2.1 SourceForge.net: MinGW - Minimalist GNU for Windows
- ↑ 3.0 3.1 3.2 3.3 3.4 SourceForge Project of the Month
- ↑ 4.0 4.1 What is MinGW?
- ↑ 5.0 5.1 5.2 5.3 5.4 MinGW - History
- ↑ MinGW Components
- ↑ What is MSYS?
- ↑ MinGW - Minimal SYStem
- ↑ http://www.mingw.org/license
- ↑ 10.0 10.1 http://www.mingw.org/node/21
- Official website
- MinGW-w64 - GCC for Win64
- unofficial TDM-MinGW GCC 4.4 builds
- Comprehensive MinGW Package with installerde:MinGW