Book Image

Getting started with LLVM core libraries

Book Image

Getting started with LLVM core libraries

Overview of this book

Table of Contents (17 chapters)
Getting Started with LLVM Core Libraries
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


Cross-compilers are an important resource for developing an application for other platforms. Clang is designed in such a way that cross-compilation is a free feature and can be performed dynamically by the driver.

In this chapter, we present which elements compound a cross-compilation environment and how Clang interacts with them in order to produce target executables. We also see that a Clang cross-compiler may still be useful in some scenarios and provide instructions on how to build, install, and use a cross-compiler.

In the next chapter, we will present the Clang static compiler and show how you can search large code bases for common bugs.