I believe you have already tried:
-fmem-report -dm
options provided by GCC and those are not what you are looking for !!
Well, in that case, you can get what you are looking partially using nm command on the object file but none that I know of during compilation..
Cheers, Harsha.
Virender Kashyap wrote:
Hi,
I wish to compare memory consumption for diffrent programs while they are being compiled in gcc. Is there any way of finding this.
Thanks and Regards.
Virender
--
*****************************
* Sriharsha Vedurmudi
* Software Engineer
* * Redpine Signals Inc.
* Gate #395, Plot 87,88
* Sagar Society, Road #2, * Banjara Hills,
* Hyderabad - 500 034
* www.redpinesignals.com
*
* +91-40-23559911 (Office)
* +91-9849133133 (Mobile)
*****************************