<div dir="ltr"><div><div><div>>>You should set SDKMACHINE if you need the machine that runs the SDK to be a<br>
different architecture from the machine<br></div>Please find the local.conf file which clearly shows SDKMACHINE is i686 and I want to build for arm1136 arch.. So MACHINE ??= "EBboard" is given where EBboard refers to arm1136 architecture..<br>

</div>Not able to find any problem in configurations.. <br><br>/opt/poky/1.3.2/sysroots/i686-pokysdk-linux/usr/bin/armv6-vfp-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc test.c<br>test.c:3:19: fatal error: stdio.h: No such file or directory<br>

<br></div>error shows that I have problem in cross toolchain...  Have yocto ever faced such kind of issue with populate_sdk before ?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 29, 2013 at 1:43 PM, Paul Eggleton <span dir="ltr"><<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thursday 29 August 2013 10:11:31 Navani Srivastava wrote:<br>
> In order to execute<br>
> "bitbake -c populate_sdk poky-image" are we supposed to declare<br>
> BUILD_ARCH or SDK_ARCH somewhere in local.conf file?<br>
> Yocto Documentation has not mentioned anything like that. Just a doubt as<br>
> "bitbake poky-image" is working fine though populate_sdk is giving problem..<br>
<br>
</div>You should set SDKMACHINE if you need the machine that runs the SDK to be a<br>
different architecture from the machine that you're running the build on,<br>
otherwise it will just use the same one.<br>
<br>
We're aware the documentation is lacking on -c populate_sdk, and we're<br>
addressing that in the documentation for the next release.<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers,<br>
Paul<br>
<br>
--<br>
<br>
Paul Eggleton<br>
Intel Open Source Technology Centre<br>
</div></div></blockquote></div><br></div>