Part 1
요약·해설
Windows에서 Chocolatey 또는 GnuWin32 package로 GNU Make를 준비한 뒤 external library sample을 build하는 조건을 설명합니다.
External · Static
Windows
GNU Make · Chocolatey
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
84E6616FEEC11DB7CDE2BB27B96D95AA760A47A785C8B06D5E3D492D9516362C
.. _external_library:
External Library
#################
Overview
********
A simple example that demonstrates how to include an external static library
into the Zephyr build system.
The demonstrates both how to build the external library using a different build
system and how to include the built static library.
Windows Note
************
To use this sample on a Windows host operating system, GNU Make needs to be in
your path. This can be setup using chocolatey or by manually installing it.
Chocolatey Method
=================
Install make using the following command:
.. code-block:: bash
choco install make
Once installed, build the application as normal.
Manual Install Method
=====================
The pre-built make application can be downloaded from
https://gnuwin32.sourceforge.net/packages/make.htm by either getting both the
``Binaries`` and ``Dependencies`` and extracting them to the same folder, or
getting the ``Complete package`` setup. Once installed and in the path, build
the application as normal.
Part 3
한국어 전문 번역
개요
External static library를 Zephyr build system에 포함하는 방법을 보여주는 간단한 example입니다.
이 sample은 서로 다른 build system으로 external library를 build하는 방법과, 그렇게 만든 static library를 Zephyr application에 포함하는 방법을 모두 보여줍니다.
Windows 참고사항
Windows host operating system에서 이 sample을 사용하려면 GNU Make가 PATH에 있어야 합니다. Chocolatey를 사용하거나 직접 설치해 설정할 수 있습니다.
Chocolatey 방식
다음 명령으로 make를 설치합니다.
choco install make
설치가 끝나면 평소와 같은 방법으로 application을 build합니다.
수동 설치 방식
미리 build된 make application은 GnuWin32 Make 페이지에서 받을 수 있습니다. Binaries와 Dependencies를 모두 내려받아 같은 folder에 압축을 풀거나, Complete package setup을 받으십시오. 설치 후 실행 파일 경로를 PATH에 추가하고 평소와 같은 방법으로 application을 build합니다.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.