[ECOS] creating smallest binaries
Gary Thomas
gary@mlbassoc.com
Thu Sep 2 12:30:00 GMT 2004
On Wed, 2004-09-01 at 20:44, Paul D. DeRocco wrote:
> > From: George Pantazopoulos
> >
> > Do you have any tips for creating the smallest binaries possible? I
> > know of the gcc options "-Os" "-ffunction-sections" and
> > "-fdata-sections". Are there any others that work well?
> >
> > Any other general tips for conserving RAM? I'm using the EB40A ARM7
> > eval board with 256KB of RAM.
>
> At the risk of stating the obvious, make sure you're using Thumb mode.
Even more savings can be had by tuning your eCos configuration. eCos
is *configurable*, remember? There are a lot of things that can be
adjusted - the default configurations, while slim, have lots of room
to be trimmed, yielding a truly svelte result.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list