[coldfire-gnu-discuss] About space optimization

Carlos O'Donell carlos at codesourcery.com
Sat Mar 15 14:45:31 UTC 2008


Ha Luong wrote:
> Dear Sir,
>  
> Could you please suggest the options for the best space optimization? I 
> used the compiler flag is "-mcpu=5282 -O3 -Os -msoft-float" and 
> the linker flag is "-Tm5282evb-ram-hosted.ld" 

Remove "-O3" and use only "-Os" for space optimizations.

Cheers,
Carlos.
-- 
Carlos O'Donell
CodeSourcery
carlos at codesourcery.com
(650) 331-3385 x716



More information about the coldfire-gnu-discuss mailing list