[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • From: "Anand Gupta" <xen.mails@xxxxxxxxx>
  • Date: Thu, 22 Jun 2006 22:36:48 +0530
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Harry Butterworth <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 22 Jun 2006 10:07:11 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Jcb/JI/h63rvK2gu3YxtTASXFiC90AZkjOIRCvqhdCToYrC+e/uTEGzgq5sj5o/evA8/0V9cJ8VAUg4FyIPUJgzKaQP+mWb5PXfUxw2GVMJKEHwbhGo/gbQUqJNhBSHIYT2AoqtbHHgAsPMooluKIE061PDOrTrT8gEmx3YAkfY=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 6/22/06, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:
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.

The libraries is going to be one major problem i guess as already the same libraries are installed in 64bit mode and the system won't allow both to be installed :(

--
regards,

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.