source: chapter06/introduction.xml@ 6e88633

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.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
Last change on this file since 6e88633 was 6e88633, checked in by Jeremy Huntwork <jhuntwork@…>, 15 years ago

Initial addition of support for x86_64

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

  • Property mode set to 100644
File size: 3.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-introduction">
9 <?dbhtml filename="introduction.html"?>
10
11 <title>Introduction</title>
12
13 <para>In this chapter, we enter the building site and start constructing the
14 LFS system in earnest. That is, we chroot into the temporary mini Linux system,
15 make a few final preparations, and then begin installing the packages.</para>
16
17 <para>The installation of this software is straightforward. Although in many
18 cases the installation instructions could be made shorter and more generic,
19 we have opted to provide the full instructions for every package to minimize
20 the possibilities for mistakes. The key to learning what makes a Linux system
21 work is to know what each package is used for and why the user (or the system)
22 needs it. For every installed package, a summary of its contents is given,
23 followed by concise descriptions of each program and library the package
24 installed.</para>
25
26 <para>If using compiler optimizations, please review the optimization hint at
27 <ulink url="&hints-root;optimization.txt"/>. Compiler optimizations can make
28 a program run slightly faster, but they may also cause compilation
29 difficulties and problems when running the program. If a package refuses to
30 compile when using optimization, try to compile it without optimization and
31 see if that fixes the problem. Even if the package does compile when using
32 optimization, there is the risk it may have been compiled incorrectly because
33 of the complex interactions between the code and build tools. Also note that
34 the <option>-march</option> and <option>-mtune</option> options using values
35 not specified in the book have not been tested. This may cause problems with
36 the toolchain packages (Binutils, GCC and Glibc). The small potential gains
37 achieved in using compiler optimizations are often outweighed by the risks.
38 First-time builders of LFS are encouraged to build without custom
39 optimizations. The subsequent system will still run very fast and be stable
40 at the same time.</para>
41
42 <para>The order that packages are installed in this chapter needs to be
43 strictly followed to ensure that no program accidentally acquires a path
44 referring to <filename class="directory">/tools</filename> hard-wired into
45 it. For the same reason, do not compile packages in parallel. Compiling in
46 parallel may save time (especially on dual-CPU machines), but it could result
47 in a program containing a hard-wired path to <filename
48 class="directory">/tools</filename>, which will cause the program to stop
49 working when that directory is removed.</para>
50
51 <para>Before the installation instructions, each installation page provides
52 information about the package, including a concise description of what it
53 contains, approximately how long it will take to build, and how much disk
54 space is required during this building process. Following the installation
55 instructions, there is a list of programs and libraries (along with brief
56 descriptions of these) that the package installs.</para>
57
58</sect1>
Note: See TracBrowser for help on using the repository browser.