source: chapter06/introduction.xml@ 1cb7ced

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 1cb7ced was 1cb7ced, checked in by Greg Schafer <greg@…>, 21 years ago

Small fixups across the board.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2883 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 a touch 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
25incorrectly due to compiler bugs or whatever. In short, the small gains achieved
26in using compiler optimization are generally outweighed by the risk. First time
27builders of LFS are encouraged not to bother. Your system will still be plenty
28fast enough and very stable at the same time.</para>
29
30<para>The order in which packages are installed in this chapter has
31to be strictly followed, to ensure that no program gets a path referring
32to <filename class="directory">/tools</filename> hard-wired into it.
33For the same reason, <emphasis>do not </emphasis> compile packages
34in parallel. Compiling in parallel may save you some time (especially on
35dual-CPU machines), but it could result in a program containing a
36hard-wired path to <filename class="directory">/tools</filename>,
37which will cause the program to stop working when that directory
38is removed.</para>
39
40</sect1>
41
Note: See TracBrowser for help on using the repository browser.