This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: to reduce footprint
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