Re: [yocto] Yocto doesn't recognize cross-compiled binaries inside SDK

2016-12-05 Thread Alexander Kanavin
On 12/02/2016 08:36 PM, Kun Yi wrote: Thanks for the explanation Alex! Will give the alternative you suggested a try. As I understand I will need to instruct Yocto to fetch necessary "native" toolchains and libs to compile the native variant recipe. Doesn't that make my recipe non-portable to oth

Re: [yocto] Yocto doesn't recognize cross-compiled binaries inside SDK

2016-12-02 Thread Burton, Ross
On 2 December 2016 at 18:36, Kun Yi wrote: > Thanks for the explanation Alex! Will give the alternative you suggested a > try. > As I understand I will need to instruct Yocto to fetch necessary > "native" toolchains and libs to compile the native variant recipe. > Doesn't that make my recipe non-

Re: [yocto] Yocto doesn't recognize cross-compiled binaries inside SDK

2016-12-02 Thread Alexander Kanavin
On 12/02/2016 10:36 AM, Kun Yi wrote: I'm trying to use SDK for an existing image to run cross-compiled code on my host machine. My target is ARM and host is x86_64. The SDK has arm-openbmc-linux-gnueabi toolchains installed. (The rationale is to build and run C++ unit tests for the modules that

Re: [yocto] Yocto doesn't recognize cross-compiled binaries inside SDK

2016-12-02 Thread Burton, Ross
On 2 December 2016 at 09:53, Burton, Ross wrote: > On 2 December 2016 at 08:36, Kun Yi wrote: > >> Reading Yocto 2.1 reference it seems that I should be able to >> cross-compile binaries for arm inside the SDK shell and run the >> > > You can't run cross-compiled binaries inside the SDK unless y

Re: [yocto] Yocto doesn't recognize cross-compiled binaries inside SDK

2016-12-02 Thread Burton, Ross
On 2 December 2016 at 08:36, Kun Yi wrote: > Reading Yocto 2.1 reference it seems that I should be able to > cross-compile binaries for arm inside the SDK shell and run the > You can't run cross-compiled binaries inside the SDK unless you use qemu. Ross -- _