GCC的windows版本TDM-GCC的安装和使用

TDM-GCC 是 Windows 下的编译器套件。

当GCC创建一个新的版本,TDM构建二进制包在MinGW的(www.mingw.org)环境中使用MinGW的官方GCC软件包的替代品。

官网的介绍是:

  • TDM-GCC is a compiler suite for Windows.
  • It combines the most recent stable release of the GCC toolset with the free and open-source MinGW or MinGW-w64 runtime APIs to create a LIBRE alternative to Microsoft's compiler and platform SDK.
  • It can create 32-bit OR 64-bit binaries, for any version of Windows since Windows 95.
  • It comes with an easy-to-use single-file installer that creates a working installation with just a few clicks, and can automatically update that installation when new packages become available.
  • It consists of command-line tools only. If you want a visual IDE (text editor, compiler interface, visual debugger), Code::Blocks integrates well with TDM-GCC.

哈哈,相对于mingw,这是一个上网安装的,就是下载后直接可以安装的,而mingw现在是下载下来几百k,可是安装的时候他会自动下载所需的软件,我不太喜欢这种模式。

安装好后,在终端下可以直接输入gcc或者g++,还有gdb哦,不错的软件,值得推荐!

你可能感兴趣的:(GCC的windows版本TDM-GCC的安装和使用)