memory sizes of a static library?

Hi,
If you have a ELF static library, how can we calculate the heap memory, Global memory and stack memory. Can we calculate by using library alone ?

Thanks,
nani.

read this:
http://www.linuxforums.org/articles/understanding-elf-using-readelf-and-objdump_125.html

2010/10/10 beable0920 m <beagle0920@gmail.com>

Thank you, it was so useful.