摘要: 特别说明:如果没有指定链接文件,gcc XXX.o -o AAA(包含链接过程,链接器也是用 ld )链接阶段就会使用gcc默认链接文件 gcc -c XXX.c:-c表示只编译不链接,此指令生成 XXX.o 目标文件 gcc main.o hello.o factorial.o -o XXX:链接 阅读全文
posted @ 2021-04-19 10:54 流水灯 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 编译错误 — make: No rule to make target 最近使用make编译一个mount源码,结果出现标题所示完整错误类似为:make: *** No rule to make target /xxx/xxx/xxxx/xxxxx/xxx.cpp(or .h )', neede d 阅读全文
posted @ 2021-04-19 10:49 流水灯 阅读(27) 评论(0) 推荐(0) 编辑