Embedded Linux Development with Yocto Project by Otavio Salvador & Daiane Angolini

Embedded Linux Development with Yocto Project by Otavio Salvador & Daiane Angolini

Author:Otavio Salvador & Daiane Angolini
Language: eng
Format: mobi, epub, pdf
Publisher: Packt Publishing
Published: 2014-07-08T21:00:00+00:00


Deciphering the software development kit

A software development kit (SDK) is a set of tools and files used to develop and debug. These tools include compilers, linkers, debuggers, external library headers, and binaries, and may include custom utilities and applications. This set of programming tools is called a toolchain.

In embedded development, the toolchain is often composed of cross-tools, or tools executed on one architecture that produces a binary for use in another architecture. For example, a gcc binary that runs on an x86-64-compatible machine and produces one binary for an ARM machine is a cross-compiler. When the tool and resultant binary are executed in the same architecture, it is called a native build.

Usually, when we work on a custom source code and use external libraries, for example, libusb or libgl, these libraries are used to build at runtime. The custom source may be built against the library header files, and the binary may be located somewhere during the execution. The set of files used during build time is placed under the sysroots directory, part of the Poky SDK, which is very configurable, depending on application, or it is a very simple one for general use.

When Poky executes tasks through the use of BitBake, it also needs a toolchain to be able to compile and link binaries for the target. This is called an internal toolchain because the tools are used internally by the build system. These tools are not intended to be used externally as they are not prepared for that, although they may be used on some very specific and advanced use cases.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.