# Ubuntu toolchain in Yocto

Source: [https://docs.qualcomm.com/doc/80-88500-2/topic/17_Ubuntu_toolchain_in_Yocto.html](https://docs.qualcomm.com/doc/80-88500-2/topic/17_Ubuntu_toolchain_in_Yocto.html)

The Yocto project integrates a specific version of the toolchain that is changed according to the Yocto version. The Yocto toolchain is generated from the source code by the form of recipes and specific patches, and that is why they are different from the Ubuntu toolchain.

To align with Ubuntu software, the toolchain of a Yocto project must be switched to the Ubuntu version. In this case, binaries of an Ubuntu toolchain are leveraged and downloaded from Ubuntu official websites instead of the source code. Source code of the toolchain is from upstream and guidance to build from vendor branches is in the upstream repositories as shown in [https://wiki.ubuntu.com/ToolChain](https://wiki.ubuntu.com/ToolChain).

For a cross toolchain, there are tools for host and dependencies for target, which are different in architecture. In the Qualcomm Robotics RB5 device development, the host architecture is `x86` and the target architecture is `arm64`.

**Parent Topic:** [Toolchain (Linux Ubuntu)](https://docs.qualcomm.com/doc/80-88500-2/topic/16_Toolchain.html)

Last Published: Aug 18, 2023

[Previous Topic
Toolchain (Linux Ubuntu)](https://docs.qualcomm.com/bundle/publicresource/80-88500-2/topics/16_Toolchain.md) [Next Topic
Enable Ubuntu toolchain](https://docs.qualcomm.com/bundle/publicresource/80-88500-2/topics/18_Enable_Ubuntu_toolchain.md)