Logo wfirstzhang 的博客

博客

在Windows 10(DEV_C++)上安装msys64 G++环境方法

avatar wfirstzhang 2026-03-21 15:14:53
  1. 下载 https://mirrors.tuna.tsinghua.edu.cn/msys2/distrib/x86_64/msys2-x86_64-20260611.exe 或 https://github.com/msys2/msys2-installer/releases/download/2026-06-11/msys2-x86_64-20260611.exe 或 https://v6.gh-proxy.org/https://github.com/msys2/msys2-installer/releases/download/2026-06-11/msys2-x86_64-20260611.exe 。
  2. 安装,打开开始菜单/MSYS2 UCRT64,输入 pacman -S mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-make mingw-w64-ucrt-x86_64-gdb,输入 Y 确定。
  3. DEV-C++/工具/编译器选项/TDM-GCC…Release右边的第二个绿色加号(由文件夹添加编译器配置),确定。

评论

暂无评论

发表评论

可以用@mike来提到mike这个用户,mike会被高亮显示。如果你真的想打“@”这个字符,请用“@@”。

wfirstzhang Avatar
密码是111111
活跃度 近 53 周
查看全年