From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H2703-0004mw-Fc for qemu-devel@nongnu.org; Wed, 03 Jan 2007 09:21:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H2701-0004lh-Om for qemu-devel@nongnu.org; Wed, 03 Jan 2007 09:21:51 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2701-0004lW-HP for qemu-devel@nongnu.org; Wed, 03 Jan 2007 09:21:49 -0500 Received: from [195.3.96.102] (helo=email.aon.at) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H2701-0007Kw-1e for qemu-devel@nongnu.org; Wed, 03 Jan 2007 09:21:49 -0500 Received: from m965p018.adsl.highway.telekom.at (HELO s37.loc) ([62.47.152.146]) (envelope-sender ) by smarthub75.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 3 Jan 2007 14:21:46 -0000 Date: Wed, 3 Jan 2007 15:23:40 +0100 From: Bernhard Fischer Subject: Re: [Qemu-devel] qemu Makefile configure Message-ID: <20070103142339.GE24482@aon.at> References: <20070103135950.GB5849@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070103135950.GB5849@networkno.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Wed, Jan 03, 2007 at 01:59:50PM +0000, Thiemo Seufer wrote: >All of this works fine for me, but patches of this sort are likely to >break things, so please test and comment. > > >Thiemo > >Index: Makefile.target >=================================================================== >RCS file: /sources/qemu/qemu/Makefile.target,v >retrieving revision 1.134 >diff -u -p -r1.134 Makefile.target >--- Makefile.target 7 Dec 2006 18:15:35 -0000 1.134 >+++ Makefile.target 3 Jan 2007 13:47:50 -0000 >@@ -91,66 +91,66 @@ endif > endif > > ifeq ($(ARCH),x86_64) >-OP_CFLAGS=$(CFLAGS) -falign-functions=0 >-LDFLAGS+=-Wl,-T,$(SRC_PATH)/x86_64.ld >+LDFLAGS+=-Wl,-T,$(SRC_PATH)/$(ARCH).ld > endif > > ifeq ($(ARCH),ppc) -> CFLAGS+= -D__powerpc__ + CPPFLAGS += -D__powerpc__ (doesn't cpp already define that on ppc?) >Index: configure >=================================================================== >RCS file: /sources/qemu/qemu/configure,v >retrieving revision 1.115 >diff -u -p -r1.115 configure >--- configure 1 Jan 2007 21:31:01 -0000 1.115 >+++ configure 3 Jan 2007 13:47:50 -0000 >@@ -243,6 +244,10 @@ for opt do > esac > done > >+# default flags for all hosts >+CFLAGS=$CFLAGS "-Wall -O2 -g -fno-strict-aliasing" >+LDFLAGS=$LDFLAGS "-g" Does that really work for you? I'd rather say LDFLAGS="$LDFLAGS -g" cheers,