develop/toolchains/host.html · develop/toolchains/host.rst 공식 원문 ↗

Zephyr 3.7.0 · Develop · Toolchains · Host

Host Toolchain

Host와 target ABI가 맞는 configuration에서 운영체제 compiler를 재사용합니다.

Official pathdevelop/toolchains/host.html
Source filedevelop/toolchains/host.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

Linux host의 non-MCU x86 같은 특정 target에서 native GCC 또는 Clang을 선택하는 ZEPHYR_TOOLCHAIN_VARIANT 값을 설명합니다.

GCC

host

Clang

llvm

Scope

native target

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 F9C87313E89F50364E16B4AFC8B4A90596FD8C680F846F3D8C0FDB9FD01E2247
.. _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``. To use clang, set
:envvar:`ZEPHYR_TOOLCHAIN_VARIANT` to ``llvm``.

Part 3

한국어 전문 번역

Host toolchain 사용

Linux host에서 non-MCU x86 target을 build하는 것과 같은 일부 configuration에서는 운영체제가 제공하는 native development tool을 그대로 사용할 수 있습니다.

  • Host GCC를 사용하려면 ZEPHYR_TOOLCHAIN_VARIANT를 host로 설정합니다.
  • Host Clang을 사용하려면 ZEPHYR_TOOLCHAIN_VARIANT를 llvm으로 설정합니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.