[yocto] Using Pre Built Toolchain in Yocto Tree

Maxin John maxin at maxinbjohn.info
Fri Mar 13 06:50:15 PDT 2015


Hi Darshan,

On Fri, Mar 13, 2015 at 12:43 PM, Darshan Patel <darsh.jp at gmail.com> wrote:
> Is there a way to configure Yocto to use Pre Built toolchain (like
> downloaded from CodeSourcery, etc.). I want to avoid building toolchain
> because it takes too much time and using new toolchain is not of my concern.
>
> I was using this feature in buildroot.

Download the pre-built toolchain from here:
http://downloads.yoctoproject.org/releases/yocto/yocto-1.7/toolchain/

eg: armv7 toolchain for an x86_64 host machine  -

# wget http://downloads.yoctoproject.org/releases/yocto/yocto-1.7/toolchain/x86_64/poky-glibc-x86_64-core-image-sato-armv7a-vfp-neon-toolchain-1.7.sh
# sudo sh poky-glibc-x86_64-core-image-sato-armv7a-vfp-neon-toolchain-1.7.sh
# source /opt/poky/1.7/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi

# arm-poky-linux-gnueabi-gcc hello.c

> Thanks in Advance!!!
>
> Regards
> Darshan

Best Regards,
Maxin



More information about the yocto mailing list