tcc未被识别为内部或外部命令,可操作程序或批处理文件

时间:2015-05-12 16:37:18

标签: c windows-7

我正在尝试通过Windows 7上的命令提示符运行C程序,但收到错误

tcc in not recognized as an internal or external command, operable program or batch file

你能指导我如何摆脱这个错误吗?

1 个答案:

答案 0 :(得分:0)

为了摆脱这个问题,请按照以下步骤从Windows7上的命令提示符执行C程序

首先,从here

安装tcc

然后在;c:/tcc中添加路径PATH,就像这样

enter image description here

在最后一步中,通过键入cd [directoryname]并键入tcc [filename.c]进入C文件所在的文件夹,它将为其创建一个应用程序或独立文件。