Chapter 6. Constructing a Temporary System

#### Cross-Compiled Linux From Scratch - Version 1.0.0rc1-PowerPC64-Multilib

### Part IV. Building the Basic Tools

- Prev

  Building the Basic Tools

- Next

  Build Variables

- Up.
- Home

# 6. Constructing a Temporary System

## 6.1. Introduction

This chapter shows how to compile and install a minimal Linux system. This system will contain just enough tools to start constructing the final CLFS system in Installing Basic System Software and allow a working environment with more user convenience than a minimum environment would.

The tools in this chapter are cross-compiled using the toolchain in /cross-tools and will be installed under the `$LFS/tools` directory to keep them separate from the files installed in Installing Basic System Software and the host production directories. Since the packages compiled here are temporary, we do not want them to pollute the soon-to-be CLFS system.

Check one last time that the `LFS` environment variable is set up properly:

    echo $LFS

Make sure the output shows the path to the CLFS partition's mount point, which is `/mnt/lfs`, using our example.

During this section of the build you will see several WARNING messages like the one below. It is safe to ignore these messages.

>     configure: WARNING: If you wanted to set the --build type, don't use --host.
>         If a cross compiler is detected then cross compile mode will be used.

- Prev

  Building the Basic Tools

- Next

  Build Variables

- Up.
- Home.