Chinaunix

标题: cygwin上执行gcc出错 [打印本页]

作者: maple412    时间: 2014-04-16 22:31
标题: cygwin上执行gcc出错
编译文件的时候出现如下错误,请看下什么原因,GCC相关的文件都已经装好了
$ gcc -o simple_write.c
gcc: fatal error: no input files
compilation terminated.


作者: MMMIX    时间: 2014-04-17 09:36
回复 1# maple412


    你用 -o 指定了输出文件的名字,那么输入文件在什么地方?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2