5.1. Introduction

#### Linux From Scratch - Version 11.1-rc1

### Chapter 5. Compiling a Cross-Toolchain

- Prev

  Compiling a Cross-Toolchain

- Next

  Binutils-2.38 - Pass 1

- Up
- Home

# 5.1. Introduction

This chapter shows how to build a cross-compiler and its associated tools. Although here cross-compilation is faked, the principles are the same as for a real cross-toolchain.

The programs compiled in this chapter will be installed under the `$LFS/tools` directory to keep them separate from the files installed in the following chapters. The libraries, on the other hand, are installed into their final place, since they pertain to the system we want to build.

- Prev

  Compiling a Cross-Toolchain

- Next

  Binutils-2.38 - Pass 1

- Up
- Home