gcc为什么不能识别.o文件?
linux吧
全部回复
仅看楼主
level 11
shell_way 楼主
为什么还要审核呀为什么呀为什么我急着等答案呢如果审核过了吧主把那篇删了吧
度娘。。。。
2010年06月25日 10点06分 1
level 11
shell_way 楼主
居然还要审核。。。还是等等吧。。。
2010年06月25日 10点06分 2
level 11
shell_way 楼主
root@slackware:~/code/asm# ls
asm_io.inc driver.c first.asm
root@slackware:~/code/asm# nasm -f coff first.asm
root@slackware:~/code/asm# nasm -f coff asm_io.inc
root@slackware:~/code/asm# gcc -c driver.c
root@slackware:~/code/asm# gcc -o first first.o driver.o asm_io.o
first.o: file not recognized: File format not recognized
collect2: ld 返回 1
root@slackware:~/code/asm#
清告诉我为什么呀为什么呀为什么[揉脸]
2010年06月25日 10点06分 3
level 11
shell_way 楼主
明明指名了coff为什么说不能识别呀[揉脸]
2010年06月25日 10点06分 4
level 11
shell_way 楼主
[瀑布汗~]elf,我做梦也不会想到可以用这个。。
2010年06月25日 10点06分 6
level 11
shell_way 楼主
[瀑布汗~]神奇的elf格式。。。
2010年06月25日 12点06分 9
1