[lfs] branch trunk updated: Add an explanation for --with-sysroot

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <175299671149.26148.17894094352555454984@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 78bec9c16 Add an explanation for --with-sysroot
78bec9c16 is described below

commit 78bec9c1609ea541ff779c95f3edf77fabdd5f36
Author: Pierre Labastie <[email protected]>
AuthorDate: Sun Jul 20 09:28:43 2025 +0200

    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...
---
 chapter05/binutils-pass1.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index f6b7f0f90..fe3a1c4a6 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -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>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.