space-profiling an ELF binary

Alex Flint alex.flint@gmail.com
Tue Apr 27 15:06:00 GMT 2010


Hi there,

I was wondering if there is a way to see how much space each input
file takes up within an ELF binary as output from gcc. Specifically, I
would like to see how much space each .o object file, and each
statically linked .a file contribute to the final binary output by
gcc. It would also be great to be able to break it down further and
see how much space each function, class, and (particularly) template
take up.

Thanks in advance,
Alex



More information about the Gcc-help mailing list