我正在使用该指令安装 MinGW,但在检查版本时遇到问题。之后发生的错误$ gcc --version看起来像bash: gcc: command not found
$ gcc --version
bash: gcc: command not found
我已经检查了我的环境变量Path(用户和系统)。我添加到的部分Path是C:\msys64\mingw64\bin;. 如您所见,没有任何""和有。;我还检查了bin文件夹和gcc其他文件。
Path
C:\msys64\mingw64\bin;
""
;
bin
gcc
可能是什么问题呢?
windows gcc mingw g++ msys2
g++ ×1
gcc ×1
mingw ×1
msys2 ×1
windows ×1