From: Keir Fraser Subject: Re: [PATCH 1/4] tools - Remove machine setting from HOSTCFLAGS Date: Sun, 27 Jan 2008 09:43:12 +0000 Message-ID: References: <20080126193414.GA2278@wavehammer.waldi.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080126193414.GA2278@wavehammer.waldi.eu.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Bastian Blank , xen-devel@lists.xensource.com Cc: John Levon List-Id: xen-devel@lists.xenproject.org On 26/1/08 19:34, "Bastian Blank" wrote: > # HG changeset patch > # User Bastian Blank > # Date 1201375662 -3600 > # Node ID 15419f59710aeaaf83fc35fbbf955b15ec713051 > # Parent c98a1a50be44c52cb59b5795347bf852941b4fdc > Remove machine setting from HOSTCFLAGS. > > The host compiler must know how to produce runnable binaries without > special settings. > > Signed-off-by: Bastian Blank Unfortunately those lines *were* introduced for a reason. See the thread at http://lists.xensource.com/archives/html/xen-devel/2007-08/msg00342.html. In brief summary, the HOSTCFLAGS mod ensures that Solaris gcc produces 64-bit binaries when COMPILE_ARCH==x86_64; a sane thing to do you'll agree. We could move the HOSTCFLAGS modification to config/SunOS.mk. Or to tools/include/xen-foreign/Makefile. But actually afaict doing it globally in Config.mk is harmless, it just looks a bit odd and potentially purgable. :-) -- Keir