zephyr/doc/getting_started/toolchain_host.rst
Flavio Ceolin d1acc1e3a2 doc: getting_started: Fix clang toolchain use
In order to use clang it is necessary to set the variable
ZEPHYR_TOOLCHAIN_VARIANT to llvm instead of clang.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2019-11-12 15:40:44 -05:00

13 lines
422 B
ReStructuredText

.. _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
:envvar:`ZEPHYR_TOOLCHAIN_VARIANT` to ``llvm``.