> 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? Sometimes, yes. On some machines, there is a good performance gain if you can reduce code size such that more of the frequently executed code is retained in the instruction cache. Ben