Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 10 Feb 2003 06:02:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 10 Feb 2003 06:02:07 -0500 Received: from web20406.mail.yahoo.com ([66.163.169.94]:28707 "HELO web20418.mail.yahoo.com") by vger.kernel.org with SMTP id ; Mon, 10 Feb 2003 06:02:06 -0500 Message-ID: <20030210111151.31800.qmail@web20418.mail.yahoo.com> Date: Mon, 10 Feb 2003 03:11:51 -0800 (PST) From: devnetfs Subject: compiling kernel with debug and optimization To: linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 652 Lines: 22 Hello, Does compiling with -g option degrade performance? IMO it should NOT. If that's true, then why dont we compile kernels with both -g and -O2 always? Also does using -g AND -O2 cause some optimizations to be missed out? Thanks in advance, Regards, A. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/