1、进入官网:https://sourceforge.net/projects/mingw/?source=typ_redirect 下载安装WinGW
2、安装需要的package
3、配置环境变量