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.
This commit is contained in:
Xi Ruoyao 2021-11-12 17:47:16 +08:00
parent 0fc1b27b09
commit d48d1c2d91
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC

View File

@ -37,6 +37,15 @@
<title>About Cross-Compilation</title> <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 <para>Cross-compilation involves some concepts that deserve a section on
their own. Although this section may be omitted in a first reading, 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 coming back to it later will be beneficial to your full understanding of