zephyr/doc/develop/toolchains/host.rst
Stephanos Ioannidis 26b019f2f0 doc: develop: Add 'Toolchains' sub-category
This commit adds the 'Toolchains' sub-category under the 'Developing
with Zephyr' category with toolchain-related documentations that were
previously located under the 'Getting Started Guide' sub-category.

It also reworks the toolchain-related documentation in the "Beyond
Getting Started Guide" document such that it is more up to date and any
confusing and/or misleading details are removed.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-01 15:26:48 +02: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``.