如何在 Windows 上安装 G++ 4.9

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/24092644/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 11:36:45  来源:igfitidea点击:

How to install G++ 4.9 on windows

windowsgccwindows-7installationgcc4.9

提问by FracturedRetina

I know this seems like a duplicate of this questionand many more, but hear me out. That question points to MingGW, which, as far as I can tell, only has version 4.8.whateverof gcc with it. I tried Cygwin, but Cygwin never really worked with my IDE.

我知道这似乎是这个问题的重复,还有更多,但请听我说。这个问题指向 MingGW,据我所知,它只有4.8.whatevergcc版本。我尝试过 Cygwin,但Cygwin 从未真正与我的 IDE 一起工作

I'm trying to add the exe for G++ 4.9 to the GNU GCC Compiler that comes with CodeBlocks. I just need the g++.exe for the #include <regex>.

我正在尝试将 G++ 4.9 的 exe 添加到 CodeBlocks 附带的 GNU GCC 编译器。我只需要 g++.exe 用于#include <regex>.

回答by gath

Use the distro from this site, they have g++ 4.9.2 which supports

使用这个站点的发行版,他们有 g++ 4.9.2 支持