From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S116J-0002z5-R6 for qemu-devel@nongnu.org; Fri, 24 Feb 2012 14:46:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S116I-00055b-Rr for qemu-devel@nongnu.org; Fri, 24 Feb 2012 14:46:43 -0500 Received: from mail-pz0-f45.google.com ([209.85.210.45]:52033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S116I-00055O-Lj for qemu-devel@nongnu.org; Fri, 24 Feb 2012 14:46:42 -0500 Received: by dadp14 with SMTP id p14so3397654dad.4 for ; Fri, 24 Feb 2012 11:46:41 -0800 (PST) Message-ID: <4F47E91D.7040800@codemonkey.ws> Date: Fri, 24 Feb 2012 13:46:37 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <1328705653-24727-1-git-send-email-kraxel@redhat.com> <4F4768EF.5020509@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] build: allow turning off debuginfo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Gerd Hoffmann , qemu-devel@nongnu.org On 02/24/2012 05:16 AM, Peter Maydell wrote: > On 24 February 2012 10:39, Gerd Hoffmann wrote: >> On 02/08/12 13:54, Gerd Hoffmann wrote: >>> This patch adds --{enable,disable}-debug-info switches to configure >>> which allows to include/exclude the '-g' switch on the gcc& ld >>> command lines. Not building debug info reduces ressource usage >>> (especially disk) alot and is quite useful for test builds. >> >> ping? > > We've had this suggested before, haven't we? I quite like the > existing "just build with -g and strip it later" approach... > is the resource usage change really that significant? I applied this because I see almost no harm at all in supporting this and even if the resource usage change is small, the benefit compared to the cost of maintaining this seems like a reasonable trade off. Regards, Anthony Liguori > > -- PMM > >