to reduce footprint
Ian Lance Taylor
iant@google.com
Wed Dec 20 17:42:00 GMT 2006
Lin George <george4academic@yahoo.com> writes:
> Thanks Ian. After reading the manual for -Os, it seems that using -Os can both achieve the better performance and reduce the footprint. Is that correct?
> If yes, it is amazing that both size can be reduced the speed is faster. Because I think speed and size are balanced parameters -- if you increase speed, the footprint will be worse (bigger). Any comments?
>
> BTW: Quote from manual > -Os is ok to optimize for speed.
-Os is equivalent to -O2, except that when there is a time/space
tradeoff it optimizes to reduce space.
Ian
More information about the Binutils
mailing list