Add an explanation for --with-sysroot

There are periodically users reporting that the --with-sysroot option
does not exist in binutils and gcc. Add a note telling that not all
aoptions are visible at the top level of the tree, unless
--help=recursive is passed. Take --with-sysroot as an example, so
that users have everything to find it...
This commit is contained in:
Pierre Labastie 2025-07-20 09:28:43 +02:00
parent 91a62d09e5
commit 78bec9c160

View File

@ -82,6 +82,16 @@ cd build</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
<note>
<para>
Contrary to other packages, not all the options listed below appear
when running <command>./configure --help</command>. For example,
to find the <option>--with-sysroot</option> option, you have to run
<command>ld/configure --help</command>. All the options can be
listed at once with <command>./configure --help=recursive</command>.
</para>
</note>
<varlistentry>
<term><parameter>--prefix=$LFS/tools</parameter></term>
<listitem>