This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: about the object file


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]