2333 just remembered today to build a set of GCC, GDB, make work environment on Windows.
Check it out online. There are three main GCC porting versions that are popular under Windows. They are Mingw,cygwin and DJGPP.
In general, MinGW, Cygwin and DJGPP each have their own characteristics, for different applications, you can choose different transplant version to meet the needs. MinGW This series of porting, the main direction is to let GCC's Windows transplant version can use WIN32API to program. The goal of Cygwin is to allow the program code under Unix-like to be compiled directly under Windows. As for DJGPP, you want to make it possible for DOS to use GCC as well.
MinGW is installed on my computer.
Installed MinGW Online Some said is their own last (http://www.mingw.org/download.shtml) a few compressed package and then install their own configuration, after all, small white still dare to mess, so directly in the http://sourceforge.net/ projects/mingw/files/mingw/Downloaded a setup program
Then choose the installation yourself.
Finally, you have to configure the environment variables (depending on your installation directory):
– Add D:\MinGW\bin to path– D:\MinGW\include join include– will D:\MinGW\lib join Lib success!
Installing GCC under Windows