安装了MinGW-5.1.6后,gcc编译出错

guo_tyro 2009-10-22 10:12:41
安装了MinGW-5.1.6后,也设置了环境变量,环境变量设置如下:
PATH : C:\MinGW\bin;%PATH%
LIBRARY_PATH : C:\MinGW\lib
C_INCLUDE_PATH : C:\MinGW\include
CPLUS_INCLUDE_PATH :C:\MinGW\include\c++\3.2.3;C:\MinGW\include\c++\3.2.3\mingw32;
C:\MinGW\include\c++\3.2.3\backward;C:\MinGW\include
INCLUDE : C:\MinGW\include

然后在dos下打上gcc就有gcc.exe: no input files
可是编译一个helloworld程序却提示:
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
有谁知道原因吗?
...全文
262 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
phancyf 2009-11-12
  • 打赏
  • 举报
回复
设置一下 TEMP/TMP试一下
borefo 2009-10-23
  • 打赏
  • 举报
回复
http://www.cppprog.com/2009/0320/89.html

69,382

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧