From: John Levon Subject: Re: [patch] Fix 32bit xen-tools build. Date: Thu, 5 Oct 2006 12:45:23 +0100 Message-ID: <20061005114523.GB7423@totally.trollied.org> References: <4524CEC4.1080309@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline 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 On Thu, Oct 05, 2006 at 11:22:12AM +0200, Gerd Hoffmann wrote: > > I suppose any halfway modern version of binutils must support > > those flags (otherwise gcc -m32 wouldn't work)? > > Yes, gcc passes -m32 through to the linker. This happens to work out OK on Solaris too: although the linker doesn't understand -m32/-m64 (Solaris ld knows about "-64" only), our gcc /does/, and we've explicitly set $(LD) to GNU ld. regards john