打印
[AVR单片机]

GCC编译下的的.COF文件怎么不可以用?

[复制链接]
1717|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
新好男孩|  楼主 | 2008-5-23 16:36 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
GCC编译下的的.COF文件怎么不可以用?


-------- begin --------
avr-gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Size before:
AVR Memory Usage
----------------
Device: Unknown

Program:     112 bytes
(.text + .data + .bootloader)

Data:          0 bytes
(.data + .bss + .noinit)




Converting to AVR Extended COFF: main.cof
avr-objcopy --debugging --change-section-address .data-0x800000 --change-section-address .bss-0x800000 --change-section-address .noinit-0x800000 --change-section-address .eeprom-0x810000 -O coff-ext-avr main.elf main.cof
Warning: file C:/DOCUME~1/EWEDDI~1/LOCALS~1/Temp/ccaseaaa.s not found in symbol table, ignoring
Warning: ignoring function __vectors() outside any compilation unit
Warning: ignoring function __bad_interrupt() outside any compilation unit

Size after:
AVR Memory Usage
----------------
Device: Unknown

Program:     112 bytes
(.text + .data + .bootloader)

Data:          0 bytes
(.data + .bss + .noinit)



-------- end --------


> Process Exit Code: 0
> Time Taken: 00:06
编译成功,但.COF文件在AVR STUDIO不能用.为什么??

相关帖子

沙发
新好男孩|  楼主 | 2008-5-23 16:45 | 只看该作者

GCC编译下的的.COF文件怎么不可以用?

https://bbs.21ic.com/upfiles/img/20077/200778165958449.rar
相关链接:https://bbs.21ic.com/upfiles/img/20077/200778165958449.rar

使用特权

评论回复
板凳
John_Lee| | 2008-5-25 00:58 | 只看该作者

现在谁还用coff呀,3.4.6也太老了

干IT这行喜新厌旧是中美德

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

25

主题

136

帖子

0

粉丝