* [ECOS] creating smallest binaries
@ 2004-09-02 2:05 George Pantazopoulos
2004-09-02 2:46 ` Paul D. DeRocco
0 siblings, 1 reply; 3+ messages in thread
From: George Pantazopoulos @ 2004-09-02 2:05 UTC (permalink / raw)
To: ecos-discuss
Hi all,
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.
Thanks,
George
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [ECOS] creating smallest binaries
2004-09-02 2:05 [ECOS] creating smallest binaries George Pantazopoulos
@ 2004-09-02 2:46 ` Paul D. DeRocco
2004-09-02 12:30 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: Paul D. DeRocco @ 2004-09-02 2:46 UTC (permalink / raw)
To: eCos Discuss
> 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.
--
Ciao, Paul D. DeRocco
Paul mailto:pderocco@ix.netcom.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [ECOS] creating smallest binaries
2004-09-02 2:46 ` Paul D. DeRocco
@ 2004-09-02 12:30 ` Gary Thomas
0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2004-09-02 12:30 UTC (permalink / raw)
To: Paul D. DeRocco; +Cc: eCos Discuss
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-02 12:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-02 2:05 [ECOS] creating smallest binaries George Pantazopoulos
2004-09-02 2:46 ` Paul D. DeRocco
2004-09-02 12:30 ` Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).