Changeset 3f0c882 for chapter06/introduction.xml
- Timestamp:
- 12/21/2004 07:38:32 PM (19 years ago)
- Branches:
- 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.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, 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
- Children:
- 3d36131c
- Parents:
- aaa3260
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/introduction.xml
raaa3260 r3f0c882 8 8 <?dbhtml filename="introduction.html"?> 9 9 10 <para>In this chapter we enter the building site, and start 11 constructing our LFS system in earnest. That is, we chroot into 12 our temporary mini Linux system, create some auxiliary things, 13 and then start installing all the packages, one by one.</para> 14 15 <para>The installation of all this software is pretty straightforward, 16 and you will probably think it would be much shorter to give here 17 the generic installation instructions and explain in full only the 18 installation of those packages that require an alternate method. 19 Although we agree with that, we nevertheless choose to give the 20 full instructions for each and every package, simply to minimize 21 the possibilities for mistakes.</para> 22 23 <para>The key to learning what makes a Linux system work is to know 24 what each package is used for and why the user (or the system) needs it. 25 For this purpose for every installed package a summary of its content is 26 given followed by concise descriptions of each program and library it 27 installed.</para> 28 29 <para>If you plan to use compiler optimizations in this chapter, take a look at 30 the optimization hint at <ulink url="&hints-root;optimization.txt"/>. Compiler 31 optimizations can make a program run slightly faster, but they may also cause 32 compilation difficulties and even problems when running the program. If a 33 package refuses to compile when using optimization, try to compile it without 34 optimization and see if the problem goes away. Even if the package does compile 35 when using optimization, there is the risk it may have been compiled incorrectly 36 due to complex interactions between the code and build tools. In short, the 37 small potential gains achieved in using compiler optimization are generally 38 outweighed by the risk. First time builders of LFS are encouraged to build 39 without custom optimizations. Your system will still be very fast and very 40 stable at the same time.</para> 41 42 <para>The order in which packages are installed in this chapter has 43 to be strictly followed, to ensure that no program gets a path referring 44 to <filename class="directory">/tools</filename> hard-wired into it. 45 For the same reason, <emphasis>do not </emphasis> compile packages 46 in parallel. Compiling in parallel may save you some time (especially on 47 dual-CPU machines), but it could result in a program containing a 48 hard-wired path to <filename class="directory">/tools</filename>, 49 which will cause the program to stop working when that directory 50 is removed.</para> 51 52 <para>Before the installation instructions each installation page gives some 53 information about the package: a concise description of what it contains, 54 approximately how long it will take to build it, how much disk space it needs 55 during this building process, and which other packages it 56 needs in order to be built successfully. After the installation instructions 57 follows a list of programs and libraries that the package installs, together 58 with a series of short descriptions of these.</para> 59 60 <para>If you wish to keep track of which package installs what files, you may 61 want to use a package manager. For a general overview of package managers have 62 a look at <ulink url="&blfs-root;view/cvs/introduction/pkgmgt.html"/>. And for 63 a package management method specifically geared towards LFS see 64 <ulink url="&hints-root;more_control_and_pkg_man.txt"/>.</para> 10 <para>See testing</para> 65 11 66 12 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.