Windows has a good interface and a rich set of tools, so the current linux development process is the completion of coding work under windows, to achieve the compiler work on linux.
In order to improve efficiency, it is necessary to build a gcc, gdb, make the environment in the windows environment.
MinGW is the windows under gcc version.
Download http: // sourceforge.net/project s / mingw / files / MinGW /
Download After entering the URL mingw-get-setup.exe installation package.
Select gcc, gdb, make the relevant package to the MinGW-Installation-Manager in.
To properly use MinGW, also you need to set environment variables.
Desktop - "Right-click My Computer -> Properties -" Advanced - "Environment Variables
- The C: \ MinGW \ bin join PATH
- The C: \ MinGW \ include adding INCLUDE
- The C: \ MinGW \ lib join LIB
Open CMD input at the command prompt gcc -v, see gcc version information, gcc installed OK
Open CMD input at the command prompt gdb -v, see the gdb version information, gdb installation OK
Open CMD input at a command prompt make -v, see make the version information, make install OK
Turn: https: //www.cnblogs.com/gscq073240/articles/9939294.html