Gnu
GNU is a free software project, and the GNU Project has developed a complete free software system that is known as "GNU" (The GNU is "not Unix") and is compatible with UNIX up-to-software systems.
http://www.gnu.org/
the difference between GCC and g++
Gcc:gnu Compiler collection that covers all the different languages supported by the GNU compiler.
Gcc:gnu C Compiler
G ++:gnu C + + compiler
GCC compilation:. c/.cpp files are used as C and C + + respectively.
G + + compile:. C/.cpp files, but they will all be treated as C + + files. In addition, if you use G + + to link to the target file, it is automatically linked to the STD C + + library (GCC does not).
GCC compiled c files have smaller predefined macros.
GCC compiled. CPP and g++ compiled *. c/.cpp files have some additional macros.
C + + compiler MinGW and Cygwin
- MinGW only window platform, the window platform support is better, the compiler file relative Cygwin small.
- Cygwin is a cross-platform, Support window platform principle is to map the UNIX API to the window API, so the compilation speed and file size is relatively large.
- Recommended use of MinGW
MinGW official website After downloading, download the related package is very slow, almost all the download failed, not recommended to use. There are two common versions of MinGW's compiled distributions: MinGW distro and TDM-GCC. The MinGW distro contains the boost library, which is very handy without having to compile and be the latest library. Mingw-builds, go straight to the mingw-builds here just fine. The advantage is x86/x64, exception handling: Siji/dwarf, threading Model: Posix/win32 are relatively whole, their own to choose the right one, the disadvantage is that the version is a bit old, the highest to 4.8.1 but many times the Rev5.
http/nuwen.net/mingw.html The advantage is that the compiler is relatively new, and its own third-party library is rich, the disadvantage is not as many choices above, and only the x64 version.recommended use of MinGW distroclion ide Download URL http://www.jetbrains.com/clion/download/#section =windows-version activation Code: Http://blog.sina.com.cn/s/blog _a2a39c680102ww28.html copy all to Clion activationBuild Clion integrated development environment on Linux platform
1. Download
2. Decompression
3 CD Clion/bin
4,./clion.sh
Installation of the C + + compiler (MinGW)