From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 5 17:15:35 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75C7F106564A for ; Fri, 5 Mar 2010 17:15:35 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-exrelay3.uni-muenster.de (ZIVM-EXRELAY3.UNI-MUENSTER.DE [128.176.192.20]) by mx1.freebsd.org (Postfix) with ESMTP id 0837D8FC25 for ; Fri, 5 Mar 2010 17:15:34 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,588,1262559600"; d="scan'208";a="27707469" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay3.uni-muenster.de with ESMTP; 05 Mar 2010 18:15:33 +0100 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id DDB8B1B07E7; Fri, 5 Mar 2010 18:15:33 +0100 (CET) Date: Fri, 05 Mar 2010 18:15:33 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Bruce Cran , Message-ID: In-Reply-To: <201003050839.44320.bruce@cran.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: building world with debugging symbols X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2010 17:15:35 -0000 Bruce Cran schrieb am 2010-03-05: > On Friday 05 March 2010 05:28:39 Alexander Best wrote: > > any suggestions on how to successfully build world with debugging > > symbols > > are welcome. > Use DEBUG_FLAGS instead: > DEBUG_FLAGS=-g ahh. thanks for the hint. with DEBUG_FLAGS i was able to build world with debugging symbols but also managed to keep the bootloader small enough. i don't think this option is documented anywhere or is it? > The build system knows not to strip the binaries when that's defined, > too.