This is the mail archive of the ecos-discuss@sources.redhat.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]
Other format: [Raw text]

Re: Reducing size of SREC file


Since your message is short on details (hint hint) I'll take a guess -
you're just looking at file sizes from 'ls'.

file sizes from 'ls' don't reflect the size of the executable - s-records
are a text representation of binary data, so they are always "bigger"
than a format like elf, which is binary plus headers, and both s-records
and elf are larger than the actual binary image.

Running 'size' and "objdump --headers" on the exe file will give you
more info about the true size and locations of your code.


-- 
Hardware, n.:
        The parts of a computer system that can be kicked.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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