- Timestamp:
- 06/09/2020 01:35:39 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:
- 3369724
- Parents:
- a89ab79
- Location:
- chapter06
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/chapter06.xml
ra89ab79 rce335792 12 12 <title>Cross Compiling Temporary Tools</title> 13 13 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="introduction.xml"/> 14 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/> 15 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/> -
chapter06/introduction.xml
ra89ab79 rce335792 6 6 ]> 7 7 8 <sect1 id="ch-tools-introduction ">8 <sect1 id="ch-tools-introduction-cross"> 9 9 <?dbhtml filename="introduction.html"?> 10 10 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 final 15 LFS system in <xref linkend="chapter-building-system"/> and allow a working 16 environment with more user convenience than a minimum environment would.</para> 13 <para>This chapter shows how to cross-compile basic utilities using 14 the just built cross-toolchain. Those utilities are installed into 15 their final location, but cannot be used yet. Basic tasks still rely on 16 the hosts tools. Nevertheless, the installed libraries are used when 17 linking.</para> 17 18 18 <para> There are two steps in building this minimal system. The first step19 is to build a new and host-independent toolchain (compiler, assembler,20 linker, libraries, and a few useful utilities). The second step uses this21 toolchain to build the other essential tools.</para>22 <!-- 23 <para> The files compiled in this chapter will be installed under the24 <filename class="directory">$LFS</filename> directory to keep them25 separate from the files installed in the next chapter and the host26 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 --> 19 <para>Using the utilities will be possible in next chapter after entering 20 the <quote>chroot</quote> environment. But all the packages built in the 21 present chapter need themselves to be built. So we cannot be independent 22 on the build system yet.</para> 23 24 <para>Once again, let us recall that improper setting of <envar>LFS</envar> 25 together with building as root, may render your computer unusable. 26 This whole chapter must be done as user <systemitem 27 class="username">lfs</systemitem>, with the enviroment as described in 28 <xref linkend="ch-preps-settingenviron"/>.</para> 29 29 30 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.