How to install older version of GCC on Windows 10

后端 未结 3 1531
借酒劲吻你
借酒劲吻你 2021-01-27 23:15

I need to install MinGW GCC 7.3 on my computer for a project. Downloaded and installed: C:\\MinGW\\bin\\MingGW-get.exe. But when I run it, it only gives me the option to insta

相关标签:
3条回答
  • 2021-01-27 23:49

    Unless you specifically want the mingw.org toolchain, check out https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/. Currently there's v8.1.0, v7.3.0, v6.4.0 and v5.4.0. Other versions are available elsewhere.

    0 讨论(0)
  • 2021-01-28 00:04

    The online installer tool (first option on the page) allows you to do so.

    https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe

    0 讨论(0)
  • 2021-01-28 00:16

    Of you need to support an older C/C++ standard the -std= compiler flag may already help (e.g. -std=c99 for ISO 1999 C or -std=c++98 for ISO 1998 C++).

    Note that GCC 7.3 is not the latest version of GCC 7. The latest GCC 7 release is version 7.5.0. You can the Windows (MinGW-w64) version from: http://winlibs.com/

    0 讨论(0)
提交回复
热议问题