This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: creating smallest binaries
- From: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>
- To: "eCos Discuss" <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 1 Sep 2004 19:44:23 -0700
- Subject: RE: [ECOS] creating smallest binaries
> 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