[iPAQ] Compiling Programs

From: Edward Muller <edwardam.a.t.home.com>
Date: Mon Jun 11 2001 - 19:29:17 EDT

Sorry for the cross list posting....But I think this is important enough...

I want to ask people compiling programs for the iPAQ to compile them with the
-Os optimization instead of the -O2 optimization. According to the gcc man
pages/information that I've read -Os is like -O2, but with additional
optimizations for size (not RAM, but file).

In the programs I've compiled for the iPAQ I've seen anywhere from 10% to 20%
size reductions (usually around 10%, but 10% across 16 MB is 1.6 MB ... :-)

So, unless anyone more in the know about gcc compiler issues (if you are
please speak up) has any objections/corrections/etc I'd like to plead with
those people that are compiling and packaging apps, be them for Familiar or
any other iPAQ distro, to PLEASE use -Os.

-- 
Edward Muller - edwardam@home.com - edwardam@handhelds.org
There are two kinds of people, those who do the work and those who take the 
credit. Try to be in the first group; there is less competiton there.
Received on Mon Jun 11 15:26:43 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:01 EDT