11.0
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
12.2
12.2-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/loongarch-12.2
xry111/mips64el
xry111/multilib
xry111/pip3
xry111/rust-wip-20221008
xry111/update-glibc
Rev | Line | |
---|
[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[4ae4324] | 7 |
|
---|
[ce335792] | 8 | <sect1 id="ch-tools-introduction-cross">
|
---|
[4ae4324] | 9 | <?dbhtml filename="introduction.html"?>
|
---|
[673b0d8] | 10 |
|
---|
[4ae4324] | 11 | <title>Introduction</title>
|
---|
[81fd230] | 12 |
|
---|
[ce335792] | 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
|
---|
[bc8cca5] | 16 | the host's tools. Nevertheless, the installed libraries are used when
|
---|
[ce335792] | 17 | linking.</para>
|
---|
| 18 |
|
---|
| 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
|
---|
[bc8cca5] | 21 | present chapter need to be built before we do that. Therefore we cannot be
|
---|
| 22 | independent of the host system yet.</para>
|
---|
[ce335792] | 23 |
|
---|
| 24 | <para>Once again, let us recall that improper setting of <envar>LFS</envar>
|
---|
[34fe7e0] | 25 | together with building as <systemitem class="username">root</systemitem>,
|
---|
| 26 | may render your computer unusable.
|
---|
[ce335792] | 27 | This whole chapter must be done as user <systemitem
|
---|
[c0c616a] | 28 | class="username">lfs</systemitem>, with the environment as described in
|
---|
[ce335792] | 29 | <xref linkend="ch-preps-settingenviron"/>.</para>
|
---|
[fcc02767] | 30 |
|
---|
[4ae4324] | 31 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.