Thanks for the advice. I stripped the file and it is now 170k! That's less than half the size! What are these symbols that have been stripped out? They take up a lot of space.
-----Original Message----- From: mad-dev-admin@lists.mars.org [mailto:mad-dev-admin@lists.mars.org]On Behalf Of Rob Leslie Sent: 04 June 2002 00:13 To: mad-dev@lists.mars.org Subject: Re: [mad-dev] Code size on ARM
On Monday, June 3, 2002, at 08:35 AM, Gareth Bransby wrote:
I had a look at the libmad.a library in /libmad/.libs/ and it is only 103K so all the extra size must be comming from minimad and the mp3 data. Since the mp3 is only 20k minimad is adding 258k to the final binary. This seems like a lot?
Try using `size' on all your .a and .o files, and compare with the resulting linked executable.
Are you linking against static libraries -- the C library, perhaps?
The resulting binary might also contain a lot of unnecessary symbols. Try using `strip'.
-- Rob Leslie rob@mars.org