Content originally posted in LPCWare by CodeRedSupport on Mon Nov 01 09:25:29 MST 2010
The size of the file on disk bears little resemblance to the amount of code/data in your application.
An executable "axf" file is a ELF(DWARF) format file.
A library is an "ar" format file, containig object files of ELF(DWARF) format.
Google for ELF/DWARF for more information on these formats.
(very) Simply, as well as your code/data, the file also contains symbol information about your executable. If it was built for debug, then it will also include all the Debug information too. In most cases, this completely dwarfs (no pun intended) the amount of code/data in your executable