%general-entities; ]> 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 LFS system in and allow a working environment with more user convenience than a minimum environment would. There are two steps in building this minimal system. The first step is to build a new and host-independent toolchain (compiler, assembler, linker, libraries, and a few useful utilities). The second step uses this toolchain to build the other essential tools. The files compiled in this chapter will be installed under the $LFS/tools directory to keep them separate from the files installed in and the host production directories. Since the packages compiled here are temporary, we do not want them to pollute the soon-to-be LFS 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 LFS 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.