安装了MinGW-5.1.6后,gcc编译出错
安装了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.
有谁知道原因吗?