简体   繁体   English

如何使用MinGW更新G ++

[英]How to update G++ with MinGW

I need g++ 4.9 or 4.8 and I only have 4.4 in my MinGW. 我需要g ++ 4.9或4.8,而我的MinGW中只有4.4。 How can I update it, because I have the latest MinGW on Windows. 我如何更新它,因为我在Windows上拥有最新的MinGW。 Thank you! 谢谢!

I would recommend to do a fresh install. 我建议进行全新安装。 First you need to delete the MinGW folder and all of its contents. 首先,您需要删除MinGW文件夹及其所有内容。 (In my case it is located in C:\\MinGW) Then you need to download the installer from http://www.mingw.org/ . (就我而言,它位于C:\\ MinGW中)然后您需要从http://www.mingw.org/下载安装程序。 The link is located by the right upper corner. 链接位于右上角。 After setting it up you need to go to the MinGW Installation manager and select mingw32-gcc-g++. 设置好之后,您需要转到MinGW Installation Manager并选择mingw32-gcc-g ++。 Last you need to go to the installation menu and click in the Apply Changes option. 最后,您需要转到安装菜单,然后单击“应用更改”选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM