From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2122 invoked by alias); 7 Oct 2004 18:30:43 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 2114 invoked from network); 7 Oct 2004 18:30:42 -0000 Received: from unknown (HELO redpinesignals.com) (203.196.161.92) by sourceware.org with SMTP; 7 Oct 2004 18:30:42 -0000 Received: from [192.168.1.11] ([192.168.1.11]) by redpinesignals.com (8.11.6+Sun/8.11.6) with ESMTP id i97GB2j06699 for ; Fri, 8 Oct 2004 00:11:02 +0800 (CST) Message-ID: <41658D29.4070403@redpinesignals.com> Date: Thu, 07 Oct 2004 18:30:00 -0000 From: Sriharsha Vedurmudi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 MIME-Version: 1.0 To: gcc Subject: Re: Memory Usage while compiling References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00053.txt.bz2 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) *****************************