yocto environment:imx6q Cross Compile Toolchain Installation

来源:互联网 发布:网络产品线分为 编辑:程序博客网 时间:2024/05/28 11:48

There are several toolchains you can use. You can try the one installed by LTIB, or the one compiled (yes, compiled) by Yocto. For the Yocto case, setup a Yocto system (there are many docs regarding this), then on the build folder thy these:

 

 

$ bitbake meta-toolchain

$ sh tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.4.1.sh

$ source /opt/poky/1.4.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi

$ arm-poky-linux-gnueabi-gcc -v

 

Now you can compile your hello world app.

https://community.freescale.com/docs/DOC-95122
原创粉丝点击