From 78bec9c1609ea541ff779c95f3edf77fabdd5f36 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 20 Jul 2025 09:28:43 +0200 Subject: [PATCH] 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 The meaning of the configure options: + + + Contrary to other packages, not all the options listed below appear + when running ./configure --help. For example, + to find the option, you have to run + ld/configure --help. All the options can be + listed at once with ./configure --help=recursive. + + + --prefix=$LFS/tools