AVR 不同优化级别说明

-O0 No optimization. This is the same as not specifying any optimization. 

-O1 Optimize. Reduces code size and execution time without performing any optimizations that take a great deal of compilation time. 

-O2 Optimize even more. avr-gcc performs almost all optimizations that don't involve a space-time tradeoff. 

-O3 Optimize yet more. This level performs all optimizations at -O2 along with -finline-functions and - frename-registers. 

-Os Optimize for size. Enables all -O2 optimizations that don't increase code size. It also performs further optimizations designed to reduce code size.

转载于:https://my.oschina.net/jingshishengxu/blog/160116

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值