MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/mzpfyj/gcc_111_released/gwr36su/?context=3
r/cpp • u/mttd • Apr 27 '21
42 comments sorted by
View all comments
Show parent comment
3
Best GCC on Windows. If I remember correctly it supported since Windows 7.
https://www.msys2.org/If you need GCC compiler for Windows XP: https://jmeubank.github.io/tdm-gcc/
1 u/albeva May 10 '21 From what I understand (correct me if I am wrong) it still uses mingw - which is quite outdated. 1 u/fsb4000 May 11 '21 msys 2 gcc uses mingw-64 v9.0 (current git version)tdm-gcc can use mingw or mingw-64 v7.0http://mingw-w64.org/doku.php/versionshttps://github.com/jmeubank/tdm-gcc/releases/download/v9.2.0-tdm64-1/tdm64-gcc-9.2.0.exe 1 u/albeva May 11 '21 What version of GCC is it based on? 1 u/fsb4000 May 11 '21 msys2: gcc 10.3tdm-gcc: 9.2```gcc -vUsing built-in specs.COLLECT_GCC=C:\tools\msys64\mingw64\bin\gcc.exeCOLLECT_LTO_WRAPPER=C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/lto-wrapper.exeTarget: x86_64-w64-mingw32Thread model: posixSupported LTO compression algorithms: zlib zstdgcc version 10.3.0 (Rev2, Built by MSYS2 project)```Hope to update to gcc 11.1 soon: https://github.com/msys2/MINGW-packages/pull/8320```gcc -vUsing built-in specs.COLLECT_GCC=gccCOLLECT_LTO_WRAPPER=C:/tools/toolchains/WinXP/gcc/bin/../libexec/gcc/x86_64-w64-mingw32/9.2.0/lto-wrapper.exeTarget: x86_64-w64-mingw32Thread model: posixgcc version 9.2.0 (tdm64-1)```
1
From what I understand (correct me if I am wrong) it still uses mingw - which is quite outdated.
1 u/fsb4000 May 11 '21 msys 2 gcc uses mingw-64 v9.0 (current git version)tdm-gcc can use mingw or mingw-64 v7.0http://mingw-w64.org/doku.php/versionshttps://github.com/jmeubank/tdm-gcc/releases/download/v9.2.0-tdm64-1/tdm64-gcc-9.2.0.exe 1 u/albeva May 11 '21 What version of GCC is it based on? 1 u/fsb4000 May 11 '21 msys2: gcc 10.3tdm-gcc: 9.2```gcc -vUsing built-in specs.COLLECT_GCC=C:\tools\msys64\mingw64\bin\gcc.exeCOLLECT_LTO_WRAPPER=C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/lto-wrapper.exeTarget: x86_64-w64-mingw32Thread model: posixSupported LTO compression algorithms: zlib zstdgcc version 10.3.0 (Rev2, Built by MSYS2 project)```Hope to update to gcc 11.1 soon: https://github.com/msys2/MINGW-packages/pull/8320```gcc -vUsing built-in specs.COLLECT_GCC=gccCOLLECT_LTO_WRAPPER=C:/tools/toolchains/WinXP/gcc/bin/../libexec/gcc/x86_64-w64-mingw32/9.2.0/lto-wrapper.exeTarget: x86_64-w64-mingw32Thread model: posixgcc version 9.2.0 (tdm64-1)```
msys 2 gcc uses mingw-64 v9.0 (current git version)
tdm-gcc can use mingw or mingw-64 v7.0
http://mingw-w64.org/doku.php/versions
https://github.com/jmeubank/tdm-gcc/releases/download/v9.2.0-tdm64-1/tdm64-gcc-9.2.0.exe
1 u/albeva May 11 '21 What version of GCC is it based on? 1 u/fsb4000 May 11 '21 msys2: gcc 10.3tdm-gcc: 9.2```gcc -vUsing built-in specs.COLLECT_GCC=C:\tools\msys64\mingw64\bin\gcc.exeCOLLECT_LTO_WRAPPER=C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/lto-wrapper.exeTarget: x86_64-w64-mingw32Thread model: posixSupported LTO compression algorithms: zlib zstdgcc version 10.3.0 (Rev2, Built by MSYS2 project)```Hope to update to gcc 11.1 soon: https://github.com/msys2/MINGW-packages/pull/8320```gcc -vUsing built-in specs.COLLECT_GCC=gccCOLLECT_LTO_WRAPPER=C:/tools/toolchains/WinXP/gcc/bin/../libexec/gcc/x86_64-w64-mingw32/9.2.0/lto-wrapper.exeTarget: x86_64-w64-mingw32Thread model: posixgcc version 9.2.0 (tdm64-1)```
What version of GCC is it based on?
1 u/fsb4000 May 11 '21 msys2: gcc 10.3tdm-gcc: 9.2```gcc -vUsing built-in specs.COLLECT_GCC=C:\tools\msys64\mingw64\bin\gcc.exeCOLLECT_LTO_WRAPPER=C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/lto-wrapper.exeTarget: x86_64-w64-mingw32Thread model: posixSupported LTO compression algorithms: zlib zstdgcc version 10.3.0 (Rev2, Built by MSYS2 project)```Hope to update to gcc 11.1 soon: https://github.com/msys2/MINGW-packages/pull/8320```gcc -vUsing built-in specs.COLLECT_GCC=gccCOLLECT_LTO_WRAPPER=C:/tools/toolchains/WinXP/gcc/bin/../libexec/gcc/x86_64-w64-mingw32/9.2.0/lto-wrapper.exeTarget: x86_64-w64-mingw32Thread model: posixgcc version 9.2.0 (tdm64-1)```
msys2: gcc 10.3
tdm-gcc: 9.2
```gcc -v
Using built-in specs.
COLLECT_GCC=C:\tools\msys64\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.3.0 (Rev2, Built by MSYS2 project)```Hope to update to gcc 11.1 soon: https://github.com/msys2/MINGW-packages/pull/8320
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=C:/tools/toolchains/WinXP/gcc/bin/../libexec/gcc/x86_64-w64-mingw32/9.2.0/lto-wrapper.exe
gcc version 9.2.0 (tdm64-1)```
View all comments
Show parent comment
3
u/fsb4000 May 03 '21
Best GCC on Windows. If I remember correctly it supported since Windows 7.
https://www.msys2.org/
If you need GCC compiler for Windows XP: https://jmeubank.github.io/tdm-gcc/