【发布时间】:2013-05-09 09:57:24
【问题描述】:
这是我的生成文件:
cpp2html: cpp2html.o lex.yy.o
gcc -c cpp2html.o lex.yy.o
cpp2html.o: cpp2html.c
gcc -c cpp2html.c
lex.yy.c: cppscanner.l
flex cppscanner.l
lex.yy.o: lex.yy.c
gcc -c lex.yy.c
当我尝试运行它时,我得到了这个错误:
gcc -c cpp2html.o lex.yy.o
gcc: warning: cpp2html.o: linker input file unused because linking not done
gcc: warning: lex.yy.o: linker input file unused because linking not done
我是 Unix 新手,非常感谢任何帮助
【问题讨论】: