This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
RE: Building rommable images for the AEB-1C
- To: Nicholas_Clarey at ivesco dot co dot uk
- Subject: RE: [ECOS] Building rommable images for the AEB-1C
- From: Gary Thomas <gthomas at cygnus dot co dot uk>
- Date: Thu, 06 Jan 2000 08:14:55 -0700 (MST)
- Cc: eCos Discussion <ecos-discuss at sourceware dot cygnus dot com>
On 06-Jan-00 Nicholas_Clarey@ivesco.co.uk wrote:
> Hi Gary,
>
> All I did was;
>
> arm-elf-gcc -Iinstall/include testfile.c -Linstall/lib -Ttarget.ld
> -nostdlib
>
You really should use *all* of the options used by the standard eCos setup.
In particular, these options tell the linker to throw away any unused code.
In your test case, this amounts to more than 100K bytes! The image I
build fits in ROM, even in the meager 32K defined as default.