[yocto] Using Pre Built Toolchain in Yocto Tree

Maxin John maxin at maxinbjohn.info
Fri Mar 13 07:02:20 PDT 2015


Hi Darshan,

On a second thought, feels like I misunderstood your question. Please
refer these:

a) http://www.yoctoproject.org/docs/latest/adt-manual/adt-manual.html#optionally-using-an-external-toolchain
b) http://elinux.org/images/c/c8/ExternalToolchainsInYocto.pdf
c) https://www.youtube.com/watch?v=FZpKbSHRJro

On Fri, Mar 13, 2015 at 2:50 PM, Maxin John <maxin at maxinbjohn.info> wrote:
> 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