[yocto] How to build 32-bit x86 host 32-bit powerpc target cross compiler, on a 64-bit x86 host

2012-06-12 Thread Elvis Dowson
Hi,
  I am running Ubuntu 12.04 LTS 64-bit. I have a colleague who doesn't have 
a 64-bit linux installation. What I'd like to be able to do is to build a 
32-bit host 32-bit powerpc target cross compiler, on my 64-bit machine. 

How can I configure Yocto to do this? 

At the moment, I've already generated a meta-toolchain SDK, which installs into 
:

/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/ppc440-poky-linux/

How can I generate a the 32-bit hosted cross compiler on my 64-bit yocto build 
machine? I really didn't quite understand the term canadian-cross compiler, 
until now!! ;-) Now I know!! 

Best regards,

Elvis Dowson___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to build 32-bit x86 host 32-bit powerpc target cross compiler, on a 64-bit x86 host

2012-06-12 Thread Khem Raj
On Tue, Jun 12, 2012 at 8:14 AM, Elvis Dowson elvis.dow...@gmail.com wrote:
 Hi,
       I am running Ubuntu 12.04 LTS 64-bit. I have a colleague who doesn't
 have a 64-bit linux installation. What I'd like to be able to do is to build
 a 32-bit host 32-bit powerpc target cross compiler, on my 64-bit machine.

 How can I configure Yocto to do this?

 At the moment, I've already generated a meta-toolchain SDK, which installs
 into :

 /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/ppc440-poky-linux/

 How can I generate a the 32-bit hosted cross compiler on my 64-bit yocto
 build machine? I really didn't quite understand the term canadian-cross
 compiler, until now!! ;-) Now I know!!

set SDKMACHINE=i686


 Best regards,

 Elvis Dowson

 ___
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to build 32-bit x86 host 32-bit powerpc target cross compiler, on a 64-bit x86 host

2012-06-12 Thread Lu, Lianhao

Please set SDKMACHINE to i686 in your local.conf when you building the cross 
canadian compiler.

Best Regards,
Lianhao

From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Elvis Dowson
Sent: Tuesday, June 12, 2012 11:15 PM
To: Yocto Discussion Mailing List
Subject: [yocto] How to build 32-bit x86 host 32-bit powerpc target cross 
compiler, on a 64-bit x86 host

Hi,
  I am running Ubuntu 12.04 LTS 64-bit. I have a colleague who doesn't have 
a 64-bit linux installation. What I'd like to be able to do is to build a 
32-bit host 32-bit powerpc target cross compiler, on my 64-bit machine.

How can I configure Yocto to do this?

At the moment, I've already generated a meta-toolchain SDK, which installs into 
:

/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/ppc440-poky-linux/

How can I generate a the 32-bit hosted cross compiler on my 64-bit yocto build 
machine? I really didn't quite understand the term canadian-cross compiler, 
until now!! ;-) Now I know!!

Best regards,

Elvis Dowson
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto