- Run shell (cmd or sh)
- Update package list (need Internet connection):
mingw-get update
- After this run upgrade
mingw-get upgrade
After this your mingw packages should be upgraded to latest versions.
There is also GUI version called MinGW Installation Manager and located typicaly at
1 |
C:\MinGW\libexec\mingw-get\guimain.exe |
来源:https://stackoverflow.com/questions/9865319/how-to-update-gcc-in-mingw-on-windows