2019-05-14 04:07:57 +08:00
|
|
|
.. _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 re-use 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``. To use clang, set
|
2019-11-12 07:36:58 +08:00
|
|
|
:envvar:`ZEPHYR_TOOLCHAIN_VARIANT` to ``llvm``.
|