WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Stop enforcing -g for some of the tools.

To: John Levon <levon@xxxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] Stop enforcing -g for some of the tools.
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Wed, 01 Nov 2006 14:33:11 +0900
Delivery-date: Thu, 02 Nov 2006 13:35:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061031152600.GA26330@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20061031152600.GA26330@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, John

I have small questions.

The following option is  written in $(XEN_ROOT)/Config.mk.
=====================
ifneq ($(debug),y)
CFLAGS += -DNDEBUG
else
CFLAGS += -g
endif
=====================

So I think tools is compiled with -g by default if your patch is applied.
Am I right?

>diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile
>--- a/tools/xenstore/Makefile
>+++ b/tools/xenstore/Makefile
>@@ -6,7 +6,7 @@ MINOR = 0
> MINOR = 0
> 
> PROFILE=#-pg
>-BASECFLAGS=-Wall -g -Werror
>+BASECFLAGS=-Werror
> # Make gcc generate dependencies.
> BASECFLAGS += -Wp,-MD,.$(@F).d
> PROG_DEP = .*.d
Why do you remove -Wall?

Best Regards,

Akio Takebe


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>