MinGW, which is an abbreviation for minimalist gnufor windows. It is a free-to-use and freely published collection of Windows-specific header files and import libraries using the GNU toolset, allowing you to gnu/ Linux and Windows platforms Generate local Windows programs without the need for a third-party C runtime (c runtime) library. MinGW is a set of include files and port libraries that allow console mode programs to use Microsoft's standard C runtime (c runtime) library (MSVCRT.DLL), which is valid on all NT OS;
Windows has a good interface and rich tools, so the current Linux development process is that Windows does the coding work, and Linux implements the compilation work. In order to improve work efficiency, it is necessary to build a set of Gcc,gdb,make environment in Windows environment. MinGW is the version of GCC under Windows. http://sourceforge.net/projects/mingw/files/MinGW/Enter the URL and click Download mingw-get-setup.exe install package.
Mingw-installation-manager Run the interface as follows:
Select the Gcc,gdb,make related package in the Mingw-installation-manager. to use MinGW Normally, you also need to set environment variables. Desktop-"Right-click My Computer-" properties-"advanced-" Environment variable – add C:\MinGW\bin to path– add C:\MinGW\include to include– add C:\MinGW\lib to lib
open cmd at the command prompt to enter GCC–V, see GCC version information, gcc installation OK
open cmd at the command prompt to enter GDB–V, see GDB version information, GDB installation OK
Open cmd enter make–v at the command prompt, see make version information, make install OK
MINGW/GCC Installation and Environment configuration under Windows environment