在 Windows 上编译为 C++20 [英] Compiler to C++20 on Windows

查看:71
本文介绍了在 Windows 上编译为 C++20的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个支持 c++20 的编译器,比如 GCC 10.1(在 linux 上使用),但要在我的 Windows 10 中使用它.

I need a compiler that supports c++20, like GCC 10.1 (used on linux), but to use it in my Windows 10.

我看到了推荐 Mingw-w64 的帖子,但它支持 c++20 吗?

I saw posts that recommend Mingw-w64, but does it supports c++20?

推荐答案

同时 GCC 10 已经发布,MinGW 版本也可用.

In the meantime GCC 10 has been released and MinGW builds are available.

您可以从 http://winlibs.com/ 下载带有 GCC 10 的独立构建的 MinGW-w64

You can download a standalone build of MinGW-w64 with GCC 10 from http://winlibs.com/

这篇关于在 Windows 上编译为 C++20的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆