From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] Fix 64-bit foreign header check Date: Wed, 15 Aug 2007 15:24:45 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: john.levon@sun.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 15/8/07 15:20, "john.levon@sun.com" wrote: > Fix 64-bit foreign header check > > If a 64-bit build is chosen, we need to compile the checker program with -m64. > Use CFLAGS instead of HOSTCFLAGS (this check doesn't work under a > cross-compile anyway). Won't gcc produce 64-bit binaries by default in a 64-bit environment? Which must be the case if you have TARGET_ARCH==COMPILE_ARCH, and the target arch is 64-bit. -- Keir