This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: creating smallest binaries


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]