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
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/parallelism
xry111/pip3
xry111/rust-wip-20221008
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-tools-introduction-cross">
|
---|
9 | <?dbhtml filename="introduction.html"?>
|
---|
10 |
|
---|
11 | <title>Introduction</title>
|
---|
12 |
|
---|
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 host's tools. Nevertheless, the installed libraries are used when
|
---|
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
|
---|
21 | present chapter need to be built before we do that. Therefore we cannot be
|
---|
22 | independent of the host system yet.</para>
|
---|
23 |
|
---|
24 | <para>Once again, let us recall that improper setting of <envar>LFS</envar>
|
---|
25 | together with building as <systemitem class="username">root</systemitem>,
|
---|
26 | may render your computer unusable.
|
---|
27 | This whole chapter must be done as user <systemitem
|
---|
28 | class="username">lfs</systemitem>, with the environment as described in
|
---|
29 | <xref linkend="ch-preps-settingenviron"/>.</para>
|
---|
30 |
|
---|
31 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.