| [3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
 | 
|---|
 | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
 | 
|---|
 | 3 |   "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
 | 
|---|
 | 4 |   <!ENTITY % general-entities SYSTEM "../../general.ent">
 | 
|---|
 | 5 |   %general-entities;
 | 
|---|
 | 6 | ]>
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | <sect1 id="ch-temp-system-introduction">
 | 
|---|
 | 9 |   <?dbhtml filename="introduction.html"?>
 | 
|---|
 | 10 | 
 | 
|---|
 | 11 |   <title>Introduction</title>
 | 
|---|
 | 12 | 
 | 
|---|
 | 13 |   <para>This chapter shows how to compile and install a minimal Linux
 | 
|---|
 | 14 |   system. This system will contain just enough tools to start
 | 
|---|
| [0220731] | 15 |   constructing the final CLFS system in <xref
 | 
|---|
| [3f8be484] | 16 |   linkend="chapter-building-system"/> and allow a working environment
 | 
|---|
 | 17 |   with more user convenience than a minimum environment would.</para>
 | 
|---|
 | 18 | 
 | 
|---|
| [0220731] | 19 |   <para>The tools in this chapter are cross-compiled using the toolchain in
 | 
|---|
 | 20 |   /cross-tools and will be installed under the
 | 
|---|
| [07114c98] | 21 |   <filename class="directory">$CLFS/tools</filename> directory to keep
 | 
|---|
| [3f8be484] | 22 |   them separate from the files installed in <xref
 | 
|---|
 | 23 |   linkend="chapter-building-system"/> and the host production directories.
 | 
|---|
 | 24 |   Since the packages compiled here are temporary, we do not want them to
 | 
|---|
| [0220731] | 25 |   pollute the soon-to-be CLFS system.</para>
 | 
|---|
| [3f8be484] | 26 | 
 | 
|---|
| [3f76cac] | 27 |   <para>Check one last time that the <envar>CLFS</envar> environment
 | 
|---|
| [3f8be484] | 28 |   variable is set up properly:</para>
 | 
|---|
 | 29 | 
 | 
|---|
| [07114c98] | 30 | <screen><userinput>echo $CLFS</userinput></screen>
 | 
|---|
| [3f8be484] | 31 | 
 | 
|---|
| [0220731] | 32 |   <para>Make sure the output shows the path to the CLFS partition's mount
 | 
|---|
| [3f76cac] | 33 |   point, which is <filename class="directory">/mnt/clfs</filename>, using
 | 
|---|
| [3f8be484] | 34 |   our example.</para>
 | 
|---|
 | 35 | 
 | 
|---|
| [4b50704] | 36 |   <para>During this section of the build you will see several WARNING
 | 
|---|
| [6d4c909] | 37 |   messages like the one below. It is safe to ignore these messages.</para>
 | 
|---|
| [4b50704] | 38 | 
 | 
|---|
 | 39 | <blockquote><screen><computeroutput>configure: WARNING: If you wanted to set the --build type, don't use --host.
 | 
|---|
 | 40 |     If a cross compiler is detected then cross compile mode will be used.</computeroutput></screen></blockquote>
 | 
|---|
 | 41 | 
 | 
|---|
 | 42 | 
 | 
|---|
| [3f8be484] | 43 | </sect1>
 | 
|---|