This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Static And Dynamic Memory Usage Of An Executable
- From: Steven Woody <narkewoody at gmail dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Tue, 15 Nov 2005 21:18:10 +0800
- Subject: Static And Dynamic Memory Usage Of An Executable
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)