Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Use -Os on ARM? (was: Re: Proposal to update GCC for ARM)

Re: Use -Os on ARM? (was: Re: Proposal to update GCC for ARM)

From: Rafaël Carré <rafael.carre_at_gmail.com>
Date: Sat, 29 May 2010 14:24:58 +0200

On Sat, 29 May 2010 11:30:24 +0200
Tobias Diedrich <ranma+rockbox_at_tdiedrich.de> wrote:

> Speaking of gcc and arm, some archs use -Os by default, but arm is
> using only -O. Some arm targets (e.g. AMS C200v2) with very little
> ram could benefit quite a bit from using -Os and so far it's working
> fine for me with rockbox gcc 4.0.3, so I would propose making -Os
> default for at least the AMS low memory arm targets.

I would say go for it, if -Os cause bugs not present with -O we will
have time to find them.

And if we switch to a new gcc, perhaps the reason for using -O and not
-Os will no longer be valid.

-- 
Rafaël Carré

Received on 2010-05-29

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa