mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
small textual rearrangement
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2799 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
e5a93c8c33
commit
e668792fcb
@ -20,19 +20,19 @@ build the actual system. Some of these packages are needed to resolve
|
||||
circular dependencies. For example, to compile a compiler you need a
|
||||
compiler.</para>
|
||||
|
||||
<para>The first thing that will be done in Chapter 5 is building the
|
||||
toolchain, which is made up of Binutils, GCC and Glibc. The programs from
|
||||
these packages will be linked statically in order for them to be
|
||||
independent of the host system.</para>
|
||||
<para>The first thing to be done in Chapter 5 is build a first pass of the
|
||||
toolchain, which is made up of Binutils and GCC. The programs from these
|
||||
packages will be linked statically in order for them to be used independently
|
||||
of the host system. The second thing to do is build Glibc, the C library.
|
||||
Glibc will be built with the toolchain programs we just built in the first
|
||||
pass.</para>
|
||||
|
||||
<para>When the first toolchain is built, you will rebuild those three
|
||||
packages again, this time using the toolchain we just built, rather than
|
||||
the host system's toolchain. In particular, all programs will be linked
|
||||
against the new Glibc rather than the host system's Glibc. All subsequent
|
||||
packages in Chapter 5 will be built and linked using this second toolchain
|
||||
installation. When this is done (building the second toolchain), the LFS
|
||||
installation process will no longer depend on the host distribution, with
|
||||
the exception of the running kernel.</para>
|
||||
<para>The next thing to do is build a second pass of the toolchain. This
|
||||
time the toolchain will be dynamically linked against the newly built Glibc.
|
||||
The remaining Chapter 5 packages are all built using this second pass
|
||||
toolchain and dynamically linked against the new Glibc. When this is done,
|
||||
the LFS installation process will no longer depend on the host distribution,
|
||||
with the exception of the running kernel.</para>
|
||||
|
||||
<para>In Chapter 6 the real LFS system will be built. The
|
||||
chroot (change root) program is used to enter a virtual environment and
|
||||
|
Loading…
Reference in New Issue
Block a user