This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: about the object file
- To: yyl <ylyuan at csrd dot org>
- Subject: Re: [ECOS] about the object file
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Sat, 29 Apr 2000 16:54:16 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <002501bfb17e$6f5b18e0$2901a8c0@21>
> 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!
Jifl
--
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