虚拟环境+工具链
Cygwin
MSYS
WSL
仅工具链
MinGW
- 安装:
- 验证:
- 特点:
TMD-GCC
- 安装:官网找最新版下载安装即可
- 验证:gcc -v
(正确输出:
)specs COLLECT_GCC=D:\Software\TDM-GCC-64\bin\gcc.exe COLLECT_LTO_WRAPPER=D:/Software/TDM-GCC-64/bin/../libexec/gcc/x86_64-w64-mingw32/10.3.0/lto-wrapper.exe x86_64-w64-mingw32 ../../../src/gcc-git-10.3.0/configure --build=x86_64-w64-mingw32 --enable-targets=all --enable-languages=ada,c,c++,fortran,jit,lto,objc,obj-c++ --enable-libgomp --enable-lto --enable-graphite --enable-cxx-flags=-DWINPTHREAD_STATIC --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-libstdcxx-debug --enable-threads=posix --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=yes --disable-libstdcxx-pch --enable-libstdcxx-threads --enable-libstdcxx-time=yes --enable-mingw-wildcard --with-gnu-ld --disable-werror --enable-nls --disable-win32-registry --enable-large-address-aware --disable-rpath --disable-symvers --prefix=/mingw64tdm --with-local-prefix=/mingw64tdm --with-pkgversion=tdm64-1 --with-bugurl=https://github.com/jmeubank/tdm-gcc/issues posix Supported LTO compression algorithms: zlib zstd gcc 10.3.0 (tdm64-1)
- 特点:支持最新版 C/C++(C++17)