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