diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-06-09 13:35:39 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-06-09 13:35:39 +0000 |
commit | ce335792fe1be021afd39f85b016ecd796454ccd (patch) | |
tree | a8052b7b6fd06c91247de6d0e93e4fa78d027e84 /chapter06 | |
parent | a89ab79538224ca059d8a66a7b27470721d95b42 (diff) |
Add an introduction to chapter 6 and 7
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11910 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/chapter06.xml | 1 | ||||
-rw-r--r-- | chapter06/introduction.xml | 33 |
2 files changed, 18 insertions, 16 deletions
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index a9f86d4dd..d08a4d780 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -11,6 +11,7 @@ <title>Cross Compiling Temporary Tools</title> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="introduction.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bash.xml"/> diff --git a/chapter06/introduction.xml b/chapter06/introduction.xml index 5614270b2..cfc8befc5 100644 --- a/chapter06/introduction.xml +++ b/chapter06/introduction.xml @@ -5,25 +5,26 @@ %general-entities; ]> -<sect1 id="ch-tools-introduction"> +<sect1 id="ch-tools-introduction-cross"> <?dbhtml filename="introduction.html"?> <title>Introduction</title> - <para>This chapter shows how to build a minimal Linux system. - This system will contain just enough tools to start constructing the final - LFS system in <xref linkend="chapter-building-system"/> and allow a working - environment with more user convenience than a minimum environment would.</para> + <para>This chapter shows how to cross-compile basic utilities using + the just built cross-toolchain. Those utilities are installed into + their final location, but cannot be used yet. Basic tasks still rely on + the hosts tools. Nevertheless, the installed libraries are used when + linking.</para> + + <para>Using the utilities will be possible in next chapter after entering + the <quote>chroot</quote> environment. But all the packages built in the + present chapter need themselves to be built. So we cannot be independent + on the build system yet.</para> + + <para>Once again, let us recall that improper setting of <envar>LFS</envar> + together with building as root, may render your computer unusable. + This whole chapter must be done as user <systemitem + class="username">lfs</systemitem>, with the enviroment as described in + <xref linkend="ch-preps-settingenviron"/>.</para> - <para>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.</para> -<!-- - <para>The files compiled in this chapter will be installed under the - <filename class="directory">$LFS</filename> directory to keep them - separate from the files installed in the next chapter 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.</para> ---> </sect1> |