Shouldn't this rather be done by specifying the target arch as an argument to 
scons, so in your case "scons TARGET_OS=linux TARGET_ARCH=x86 [XXX=zzz ...]"?

I haven't tried it though so your mileage may vary.

Thanks,
Geoffroy

Technical Marketing Engineer Manager
Open-Source Technology Centre
Tel: +32 (0)3 450 0851

-----------------------------------------------
Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09


> -----Original Message-----
> From: iotivity-dev-bounces at lists.iotivity.org [mailto:iotivity-dev-
> bounces at lists.iotivity.org] On Behalf Of Li, ShaoguangX
> Sent: Friday, March 11, 2016 3:14 AM
> To: Iovene, Salvatore <salvatore.iovene at intel.com>
> Cc: iotivity-dev at lists.iotivity.org
> Subject: Re: [dev] Cross compile Iotivity
> 
> Hi Salvatore,
> 
> Thanks for the information. I'll try.
> 
> Regards,
> Shaoguang
> 
> -----Original Message-----
> From: Iovene, Salvatore [mailto:salvatore.iovene at intel.com]
> Sent: Thursday, March 10, 2016 19:37
> To: LiShaoguang
> Cc: iotivity-dev at lists.iotivity.org
> Subject: Re: [dev] Cross compile Iotivity
> 
> Hi,
> I did it using a simple 32-bit chroot environment. There are lots or resources
> online on how to setup one for Ubuntu.
> 
>   Salvatore
> 
> On Thu, Mar 10, 2016 at 1:01 PM, LiShaoguang <shaoguang.li at hotmail.com>
> wrote:
> > Hi All,
> >
> > I'm trying to build Iotivity on Ubuntu 14.04 which has a x86_64 CPU
> > for a embedded Linux system which has a 32 bit x86 CPU.
> >
> > Can anyone who did the same thing before give me some advice please?
> >
> > Thanks!
> >
> > Shaoguang Li
> >
> >
> >
> > _______________________________________________
> > iotivity-dev mailing list
> > iotivity-dev at lists.iotivity.org
> > https://lists.iotivity.org/mailman/listinfo/iotivity-dev
> >
> 
> 
> 
> --
> Salvatore Iovene <salvatore.iovene at intel.com> Linux Software Engineer Intel
> Open Source Technology Center, Finland
> Tel.: +358504804026
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to