[AVR单片机] GCC编译下的的.COF文件怎么不可以用?

[复制链接]
2091|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

粉丝
快速回复 在线客服 返回列表 返回顶部