Static And Dynamic Memory Usage Of An Executable

Steven Woody narkewoody@gmail.com
Tue Nov 15 13:18:00 GMT 2005
i am developing embedded program, the memory resource is strictly limited. so,
during development i want to keep an eye on how big my program will be.
in static, i want to know what is the size of each segment, i.e. heap, data,
text, in dynamic, i want to know, what size of heap and stack is enough to run
the program ( a runtime memory usage graph ).

what Gnu utility can give me information as above?  thanks in advance.


-- 
steven woody (id: narke)

John McFarland: Hey, what are you guys doing?
Alex: Get the fuck out and don't come back! Some heavy shit's going down! 

	- Elephant (2003)



More information about the Binutils mailing list