Changeset 81e0bc4
- Timestamp:
- 06/08/2020 08:24:56 PM (4 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, 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:
- 192c668
- Parents:
- 5061bc6
- Location:
- chapter05
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/chapter05.xml
r5061bc6 r81e0bc4 10 10 <?dbhtml filename="chapter05.html"?> 11 11 12 <title>C ross Compiling aToolchain</title>12 <title>Compiling a Cross-Toolchain</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="introduction.xml"/> -
chapter05/introduction.xml
r5061bc6 r81e0bc4 11 11 <title>Introduction</title> 12 12 13 <para>This chapter shows how to build a minimal Linux system.14 This system will contain just enough tools to start constructing the final15 LFS system in <xref linkend="chapter-building-system"/> and allow a working16 environment with more user convenience than a minimum environment would.</para>13 <para>This chapter shows how to build a cross-compiler and its associated 14 tools. Although here cross-compilation is faked, the principles are 15 the same as for a real cross-toolchain, and are detailed in the next 16 section.</para> 17 17 18 <para>There are two steps in building this minimal system. The first step 19 is to build a new and host-independent toolchain (compiler, assembler, 20 linker, libraries, and a few useful utilities). The second step uses this 21 toolchain to build the other essential tools.</para> 22 <!-- 23 <para>The files compiled in this chapter will be installed under the 24 <filename class="directory">$LFS</filename> directory to keep them 25 separate from the files installed in the next chapter and the host 26 production directories. Since the packages compiled here are temporary, 27 we do not want them to pollute the soon-to-be LFS system.</para> 28 --> 18 <para>The programs compiled in this chapter will be installed under the 19 <filename class="directory">$LFS/tools</filename> directory to keep them 20 separate from the files installed in the following chapters. The libraries, 21 on the other hand, are installed into their final place, since they pertain 22 to the system we want to build.</para> 23 29 24 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.