aboutsummaryrefslogtreecommitdiffstats
path: root/part3intro/toolchaintechnotes.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-11-12 17:47:16 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-11-12 17:47:16 +0800
commitd48d1c2d91edaec4d25d0e4324673d5a1d41aa71 (patch)
tree23292bf9efad83245b48807879fc30866962f760 /part3intro/toolchaintechnotes.xml
parent0fc1b27b0912a9cd516b8f815d1e3e94c6ac35d0 (diff)
toolchain note: add a disclaimer for the purpose of the book
There are some discussion on gcc-help from someone (mis)using LFS to build a "general" toolchain. Let's stop it before off-topic message got into lfs-support.
Diffstat (limited to 'part3intro/toolchaintechnotes.xml')
-rw-r--r--part3intro/toolchaintechnotes.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/part3intro/toolchaintechnotes.xml b/part3intro/toolchaintechnotes.xml
index 3bc54842a..c8abc98bc 100644
--- a/part3intro/toolchaintechnotes.xml
+++ b/part3intro/toolchaintechnotes.xml
@@ -37,6 +37,15 @@
<title>About Cross-Compilation</title>
+ <note>
+ <para>
+ The LFS book is not, and does not contain a general tutorial to
+ build a cross (or native) toolchain. Don't use the command in the
+ book for a cross toolchain which will be used for some purpose other
+ than building LFS, unless you really understand what you are doing.
+ </para>
+ </note>
+
<para>Cross-compilation involves some concepts that deserve a section on
their own. Although this section may be omitted in a first reading,
coming back to it later will be beneficial to your full understanding of