[bf8c11f] | 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
|
---|
| 15 | constructing the final LFS system in <xref
|
---|
| 16 | linkend="chapter-building-system"/> and allow a working environment
|
---|
| 17 | with more user convenience than a minimum environment would.</para>
|
---|
| 18 |
|
---|
| 19 | <para>There are two steps in building this minimal system. The first
|
---|
| 20 | step is to build a new and host-independent toolchain (compiler,
|
---|
| 21 | assembler, linker, libraries, and a few useful utilities). The second
|
---|
| 22 | step uses this toolchain to build the other essential tools.</para>
|
---|
| 23 |
|
---|
| 24 | <para>The files compiled in this chapter will be installed under the
|
---|
| 25 | <filename class="directory">$LFS/tools</filename> directory to keep
|
---|
| 26 | them separate from the files installed in <xref
|
---|
| 27 | linkend="chapter-building-system"/> and the host production directories.
|
---|
| 28 | Since the packages compiled here are temporary, we do not want them to
|
---|
| 29 | pollute the soon-to-be LFS system.</para>
|
---|
| 30 |
|
---|
| 31 | <para>Check one last time that the <envar>LFS</envar> environment
|
---|
| 32 | variable is set up properly:</para>
|
---|
| 33 |
|
---|
| 34 | <screen><userinput>echo $LFS</userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <para>Make sure the output shows the path to the LFS partition's mount
|
---|
| 37 | point, which is <filename class="directory">/mnt/lfs</filename>, using
|
---|
| 38 | our example.</para>
|
---|
| 39 |
|
---|
[4c2b35f] | 40 | <para>During this section of the build you will see several WARNING
|
---|
[cbfa0a3] | 41 | messages like the one below. It is safe to ignore these messages.</para>
|
---|
[4c2b35f] | 42 |
|
---|
| 43 | <blockquote><screen><computeroutput>configure: WARNING: If you wanted to set the --build type, don't use --host.
|
---|
| 44 | If a cross compiler is detected then cross compile mode will be used.</computeroutput></screen></blockquote>
|
---|
| 45 |
|
---|
| 46 |
|
---|
[bf8c11f] | 47 | </sect1>
|
---|