[ECOS] about the object file

Jonathan Larmour jlarmour@redhat.co.uk
Sat Apr 29 08:54:00 GMT 2000

> yyl wrote:
> Hi I compiled a example named hello.c on the platform of ecos1.3.1 on
> Redhat linux6.1(target is pc),and I found the object file is more than
> 500k.Who can tell me why it's so big?

That includes all the debug information. To get a more realistic size, use
i386-elf-size on the executable instead.

There are also plenty of configuration options that can be used to reduce
the footprint of eCos - this is the whole point of the massive level of
configurability that eCos provides!

Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

More information about the Ecos-discuss mailing list