[maemo-developers] Compiling GNU Utilities on Scratchbox

From: Eero Tamminen eero.tamminen at nokia.com
Date: Mon Aug 20 14:43:42 EEST 2007
Hi,

ext Frantisek Dufka wrote:
> You may also try compiling with thumb intruction set. This is how most 
> stuff in firmware is compiled. Try
> export DEB_BUILD_OPTIONS=thumb
> before building the deb or use compiler options directly (-mthumb 
> -mthumb-interwork)

And also -Os instead of -O2.  Although "-Os" means optimize for size,
it's sometimes faster than -O2 if things fit better into cache (same
with thumb option which can give even further size reductions).


	- Eero

More information about the maemo-developers mailing list