小编mys*_*elf的帖子

无法使用多个文件指定-c

我的问题与我有关makefile:

gcc -c src/uno.c src/uno.h -o src/uno.o
gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
Run Code Online (Sandbox Code Playgroud)

如何创建.o包含多个文件的文件?

c gcc makefile file

5
推荐指数
1
解决办法
3950
查看次数

标签 统计

c ×1

file ×1

gcc ×1

makefile ×1