From: "Anand Gupta" Subject: Re: need to compile 32bit on x86_64 cpu Date: Thu, 22 Jun 2006 22:36:48 +0530 Message-ID: References: <907625E08839C4409CE5768403633E0BA7FD21@sefsexmb1.amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0921088785==" Return-path: In-Reply-To: <907625E08839C4409CE5768403633E0BA7FD21@sefsexmb1.amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Petersson, Mats" Cc: xen-devel@lists.xensource.com, Harry Butterworth , Xen Users List-Id: xen-devel@lists.xenproject.org --===============0921088785== Content-Type: multipart/alternative; boundary="----=_Part_30474_31057943.1150996008780" ------=_Part_30474_31057943.1150996008780 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_30474_31057943.1150996008780 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 6/22/06, Petersson, Mats <Mats.Petersson@amd.com> 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 ------=_Part_30474_31057943.1150996008780-- --===============0921088785== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0921088785==--