安装 minGW 后,无法识别 gcc 命令
After installing minGW, gcc command is not recognized
我已经安装了 minGW,并且我有一个文件 "test.c"。
我在命令提示符下键入 gcc test.c -o demo
,同时在我保存 "test.c" 文件的目录中。但它没有用;我收到这条消息:
gcc is not recognized as internal or external command, operable program or batch file
如何使用 minGW 使 gcc
命令在 Windows 上运行?
您缺少 Path Variable
设置。请参阅此页面上的 'Environment Settings' 部分:
我已经安装了 minGW,并且我有一个文件 "test.c"。
我在命令提示符下键入 gcc test.c -o demo
,同时在我保存 "test.c" 文件的目录中。但它没有用;我收到这条消息:
gcc is not recognized as internal or external command, operable program or batch file
如何使用 minGW 使 gcc
命令在 Windows 上运行?
您缺少 Path Variable
设置。请参阅此页面上的 'Environment Settings' 部分: