From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry Butterworth Subject: Re: need to compile 32bit on x86_64 cpu Date: Thu, 22 Jun 2006 18:15:53 +0100 Message-ID: <1150996554.7701.3.camel@localhost.localdomain> References: <907625E08839C4409CE5768403633E0BA7FD21@sefsexmb1.amd.com> Mime-Version: 1.0 Content-Type: text/plain 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: Anand Gupta Cc: "Petersson, Mats" , xen-devel@lists.xensource.com, Xen Users List-Id: xen-devel@lists.xenproject.org What's wrong with the chroot option that Keir mentioned? On Thu, 2006-06-22 at 22:36 +0530, Anand Gupta wrote: > On 6/22/06, Petersson, Mats 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@lists.xensource.com > http://lists.xensource.com/xen-devel