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