Back to Zephyr

Host Toolchains

doc/develop/toolchains/host.rst

4.4.0429 B
Original Source

.. _host_toolchains:

Host Toolchains ###############

In some specific configurations, like when building for non-MCU x86 targets on a Linux host, you may be able to reuse the native development tools provided by your operating system.

To use your host gcc, set the :envvar:ZEPHYR_TOOLCHAIN_VARIANT :ref:environment variable <env_vars> to host/gnu. To use clang, set :envvar:ZEPHYR_TOOLCHAIN_VARIANT to host/llvm.