Windows下搭建我的C/C++的开发环境
##一、搭建编译环境##
1.安装TDM-GCC
本来想的是安装MinGW64,但是发现mingw的Online Setup只能安装MinGW,所以索性用TDM-GCC算了,方便省心。
Bundle installer for the TDM64 MinGW-w64 edition. Includes C, C++, and OpenMP support, SEH/SJLJ exception handling, other GNU toolchain programs (binutils), Windows API libraries (mingw-w64), GNU make (mingw32-make), and the GNU debugger (GDB).
CodeBlock和Codelite用的也是这货
2.查看GCC版本信息
TDM-GCC不用像MinGW那样要手工添加环境变量,安装的时候就已经添加好安装路径到PATH(如C:\TDM-GCC-64\bin)。
开始运行,输入CMD,回车并运行,输入gcc -v查看编译器版本。