打印
[AVR单片机]

WinAVR 20080512 released

[复制链接]
1906|10
手机看帖
扫描二维码
随时随地手机跟帖
沙发
athlon64fx| | 2008-5-28 04:32 | 只看该作者

有纪念意义的一个版本...

使用特权

评论回复
板凳
宇宙飞船| | 2008-5-28 11:47 | 只看该作者

版本更新速度惊人!下载中。。。

使用特权

评论回复
地板
hotpower| | 2008-5-28 12:50 | 只看该作者

俺不想用这个地震版...

使用特权

评论回复
5
kanprin| | 2008-5-28 19:11 | 只看该作者

版本上去了,编译出的代码也膨胀了

试用了一下winavr20080512版,同样的程序编译结果如下 

以下是20050214版编译结果: 

> "make.exe" all 

-------- begin -------- 
avr-gcc (GCC) 3.4.3 
Copyright (C) 2004 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 after: 
main.elf  : 
section           size      addr 
.text             1926      6144 
.version            11      6096 
.data                0   8388704 
.bss               270   8388704 
.noinit              0   8388974 
.eeprom              0   8454144 
.debug_aranges      20         0 
.debug_pubnames    440         0 
.debug_info       1536         0 
.debug_abbrev      401         0 
.debug_line       1643         0 
.debug_str         745         0 
Total             6992 


以下是20080512版的编译结果: 

-------- begin -------- 
avr-gcc (WinAVR 20080512) 4.3.0 
Copyright (C) 2008 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 after: 
main.elf  : 
section            size      addr 
.version             11      6096 
.text              2348         0 
.bss                270   8388704 
.debug_aranges       32         0 
.debug_pubnames     440         0 
.debug_info        2610         0 
.debug_abbrev       657         0 
.debug_line        2870         0 
.debug_frame        192         0 
.debug_str          770         0 
.debug_loc         1689         0 
.debug_ranges        48         0 
Total             11937 


编译的结果竟然差那么多 ?? 

使用特权

评论回复
6
kanprin| | 2008-5-28 19:22 | 只看该作者

这边还有一份比较数据

直接贴过来版面太难看了,还是直接到那个网站看吧

看来还是GCC 3.3.6 的比较经典,只是支持的器件不足……

使用特权

评论回复
7
宇宙飞船| | 2008-5-28 21:48 | 只看该作者

没什么难看的,这些都是很经典的库函数,

都是一些很成熟的算法,基本上不会有太大的代码长度变化,用得最多的printf还是减少了86个字节。

使用特权

评论回复
8
mxh0506| | 2008-5-28 23:09 | 只看该作者

不错啊, 我还在用20071221呢

这么有纪念意义的版本一定珍藏一个

WINAVR虽然已经提供了编译好的C语言库, 但是按照不同优化级别编译应用程序时,如果要得到最理想的优化效果,最好把库函数也按照相应的优化选项重新编译.

使用特权

评论回复
9
AIRWILL| | 2008-5-29 09:39 | 只看该作者

又有了新版本?

上次才下了个 4.30的版本

使用特权

评论回复
10
athlon64fx| | 2008-5-29 09:52 | 只看该作者

gcc版本没变,只是修正了一个严重的bug

使用特权

评论回复
11
cd8484| | 2008-6-9 09:51 | 只看该作者

用了下,还是有Bug

使用特权

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

本版积分规则

33

主题

1466

帖子

21

粉丝