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

[Xen-users] RE: [Xen-devel] need to compile 32bit on x86_64 cpu

To: "Anand Gupta" <xen.mails@xxxxxxxxx>, "Xen Users" <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] RE: [Xen-devel] need to compile 32bit on x86_64 cpu
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Thu, 22 Jun 2006 19:00:59 +0200
Cc: Harry Butterworth <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 22 Jun 2006 10:02:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <acb757c00606220941m54a85ddy8c504a17f11c9ab8@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcaWG0K2wVcxdtOOQMO9biWr/fz6aAAAAYTg
Thread-topic: [Xen-devel] need to compile 32bit on x86_64 cpu
I tried using
"setarch i386 bash"
"make clean dist"
It's still compiling, but it looks like it might work...
 
[You may need to install setarch on your machine, as some machines don't have it installed as default. setarch allows the machine to set a flag so that when something like uname is asking "What processor is this" the answer will be "i686" instead of "x86_64", and thus tools that use for example "uname -m" to find the CPU type, will figure that it's a 32-bit processor instead of 64-bit.
 
However, you may need to have certain libraries and other tools installed on the machine to build 32-bit binaries.
 
--
Mats


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Anand Gupta
Sent: 22 June 2006 17:42
To: Xen Users
Cc: Harry Butterworth; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] need to compile 32bit on x86_64 cpu

Anyone has any other ideas on how to do this ?

--
regards,

Anand Gupta
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users