GCC on Windows: mingw Introduction

Source: Internet
Author: User

A collection of freely available and freely distributable windows specific header files and import libraries combined with GNU toolsets that allow one to produce Native Windows programs that do not rely on any 3rd-party C Runtime DLLs.

The full name of mingw is minimalist GNU for windows. It is a set of GNU tools used on Windows platform. It implements the basic functions of GNU and eliminates the need for a third-party Runtime library (DLL) for compiled programs) it can be run on Windows.

What is mingw?

Mingw ("minimalistic GNU for Windows") refers to a set of runtime headers, used in building a compiler system based on the GNU gcc and binutils projects. it compiles and links code to be run on Win32 platforms... providing C, C ++ and FORTRAN compilers plus other related tools. if you see references to "mingw32" instead of "mingw", they are referring to the same compiler system. the project's name changed from mingw32 to mingw is to prevent the implication that mingw will only works on 32 bit systems (as 64 and higher bit machines become more common, mingw will evolve to work with them ). mingw uses the Microsoft runtime libraries, distributed with the Windows operating system. unlike other ports of GCC to Windows, the runtime libraries are not distributed using GNU's General Public License (GPL ). you, therefore, do not have to distribute your source code with your programs unless, of course, you use a GPL library in your programs.
-- From the official mingw Homepage
Http://www.mingw.org/

The following is my poor English translation. If there is anything wrong, please leave a message:

Mingw involves a set of runtime header files used to build a GNU gcc-based compilation system and generate programs. Mingw compiles and connects code running on the Win32 platform, and provides C, C ++, and FORTRAN compilers and related tools. Sometimes 32" Replace "mingw", but both indicate the same compilation system. Set "mingw 32" The change to "mingw" is to prevent misunderstanding that mingw can only work on 32-bit windows (with the popularization of 64-bit and higher-level computers, mingw will be developed so that it can be used on these machines ). Mingw uses Microsoft's Runtime Library for distribution on Windows operating systems. Unlike other GCC Windows interfaces, the Runtime Library is not distributed by GPL (GNU General Public protocol certificate. You do not even need to disclose the source code of your program. (Note: For the GNU General Public Agreement certificate, the program using this certificate will distribute the source code together during distribution, to reflect the spirit of "Free Software"), unless you use the GPL library.

Mingw versions:
Download http://www.mingw.org/download.shtml official.
Http://www.programarts.com/download/MinGW-3.0.0-1.exe can run the installed version directly under Windows

If you have any experiences, please feel free to contact me.
//---------------------------------------------------
// If you are happy, clap your hands and shout, "Great !"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.