source: chapter06/introduction.xml@ eea36593

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v5_0 v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since eea36593 was eea36593, checked in by Greg Schafer <greg@…>, 21 years ago

Incorporate suggested changes from Bruce. Thanks.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2884 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.2 KB
Line 
1<sect1 id="ch06-introduction">
2<title>Introduction</title>
3<?dbhtml filename="introduction.html" dir="chapter06"?>
4
5<para>In this chapter we enter the building site, and start
6constructing our LFS system in earnest. That is, we chroot into
7our temporary mini Linux system, create some auxiliary things,
8and then start installing all the packages, one by one.</para>
9
10<para>The installation of all this software is pretty straightforward,
11and you will probably think it would be much shorter to give here
12the generic installation instructions and explain in full only the
13installation of those packages that require an alternate method.
14Although we agree with that, we nevertheless choose to give the
15full instructions for each and every package, simply to minimize
16the possibilities for mistakes.</para>
17
18<para>If you plan to use compiler optimizations in this chapter, take a look at
19the optimization hint at <ulink url="&hints-root;optimization.txt"/>. Compiler
20optimizations can make a program run slightly faster, but they may also cause
21compilation difficulties and even problems when running the program. If a
22package refuses to compile when using optimization, try to compile it without
23optimization and see if the problem goes away. Even if the package does compile
24when using optimization, there is the risk it may have been compiled incorrectly
25due to complex interactions between the code and build tools. In short, the
26small potential gains achieved in using compiler optimization are generally
27outweighed by the risk. First time builders of LFS are encouraged to build
28without custom optimizations. Your system will still be very fast and very
29stable at the same time.</para>
30
31<para>The order in which packages are installed in this chapter has
32to be strictly followed, to ensure that no program gets a path referring
33to <filename class="directory">/tools</filename> hard-wired into it.
34For the same reason, <emphasis>do not </emphasis> compile packages
35in parallel. Compiling in parallel may save you some time (especially on
36dual-CPU machines), but it could result in a program containing a
37hard-wired path to <filename class="directory">/tools</filename>,
38which will cause the program to stop working when that directory
39is removed.</para>
40
41</sect1>
42
Note: See TracBrowser for help on using the repository browser.