introduction.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <sect1 id="ch06-introduction">
  2. <title>Introduction</title>
  3. <?dbhtml filename="introduction.html" dir="chapter06"?>
  4. <para>In this chapter we enter the building site, and start
  5. constructing our LFS system in earnest. That is, we chroot into
  6. our temporary mini Linux system, create some auxiliary things,
  7. and then start installing all the packages, one by one.</para>
  8. <para>The installation of all this software is pretty straightforward,
  9. and you will probably think it would be much shorter to give here
  10. the generic installation instructions and explain in full only the
  11. installation of those packages that require an alternate method.
  12. Although we agree with that, we nevertheless choose to give the
  13. full instructions for each and every package, simply to minimize
  14. the possibilities for mistakes.</para>
  15. <para>If you plan to use compiler optimizations in this chapter,
  16. take a look at the optimization hint at
  17. <ulink url="&hints-root;optimization.txt"/>.
  18. Compiler optimizations can make a program run faster, but they
  19. may also cause compilation difficulties. If a package refuses
  20. to compile when using optimization, try to compile it without
  21. optimization and see if the problem goes away.</para>
  22. <para>The order in which packages are installed in this chapter has
  23. to be strictly followed, to ensure that no program gets a path referring
  24. to <filename class="directory">/static</filename> hard-wired into it.
  25. For the same reason, <emphasis>do not </emphasis> compile packages
  26. in parallel. Compiling in parallel may save you some time (especially on
  27. dual-CPU machines), but it could result in a program containing a
  28. hard-wired path to <filename class="directory">/static</filename>,
  29. which will cause the program to stop working when the static directory
  30. is removed.</para>
  31. </sect1>