From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [patch] Fix 32bit xen-tools build. Date: Thu, 05 Oct 2006 12:40:47 +0200 Message-ID: <4524E12F.2030501@suse.de> References: <4524CEC4.1080309@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4524CEC4.1080309@suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Hoffmann Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Gerd Hoffmann wrote: > For the x86_32 on x86_64 it works as-is, because the 32bit binaries work > on 64bit too. Looking at it strictly it is indeed not fully correct > though, HOSTCCFLAGS should be used instead. But some more tweaks are > needed then, you'll have to take care that the object files are compiled > with HOSTCC (and HOSTCFLAGS) too (they are not at the moment). While playing with that: mbootpack.c doesn't even build with -m64, so its probably best to simply stick with compiling 32bit binaries ... cheers, Gerd -- Gerd Hoffmann http://www.suse.de/~kraxel/julika-dora.jpeg