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 variables – add C:\MinGW\bin to path– add C:\MinGW\include to include– add C:\MinGW\lib join Lib open cmd at command prompt Enter Gcc–v, see GCC version information, gcc install OK open cmd at command prompt input gdb–v, see GDB version information, gdb install OK open cmd at command prompt input make–v, See make release information, make install OK
Installing GCC in a Windows environment