Author: pierre
Date: Sat Feb 22 22:56:18 2020
New Revision: 11758

Log:
As pointed by Tadeus Prastowo, two command explanations have to be reworded

Modified:
   trunk/BOOK/chapter05/binutils-pass2.xml
   trunk/BOOK/chapter05/libstdc++.xml

Modified: trunk/BOOK/chapter05/binutils-pass2.xml
==============================================================================
--- trunk/BOOK/chapter05/binutils-pass2.xml     Fri Feb 21 08:32:53 2020        
(r11757)
+++ trunk/BOOK/chapter05/binutils-pass2.xml     Sat Feb 22 22:56:18 2020        
(r11758)
@@ -86,10 +86,16 @@
       <varlistentry>
         <term><parameter>--with-sysroot</parameter></term>
         <listitem>
-          <para>The sysroot feature enables the linker to find shared objects
-          which are required by other shared objects explicitly included on the
-          linker's command line. Without this, some packages may not build
-          successfully on some hosts.</para>
+          <para>This defines a default (non-existent) sysroot directory
+          <filename class="directory">/tools/$LFS_TGT/sys-root</filename>.
+          It is useful when looking for shared objects which are required by
+          other shared objects explicitly included on the linker's command
+          line. Those objects are searched into the directories listed in
+          <filename>&lt;sysroot&gt;/etc/ld.so.conf</filename>, and failing
+          that, into the linker search path, which is right. If this switch
+          is not given, <filename>/etc/ld.so.conf</filename> on the host
+          is used, that is, programs may be linked to libraries on
+          the host, which we want to avoid.</para>
         </listitem>
       </varlistentry>
 

Modified: trunk/BOOK/chapter05/libstdc++.xml
==============================================================================
--- trunk/BOOK/chapter05/libstdc++.xml  Fri Feb 21 08:32:53 2020        (r11757)
+++ trunk/BOOK/chapter05/libstdc++.xml  Sat Feb 22 22:56:18 2020        (r11758)
@@ -82,8 +82,8 @@
       <varlistentry>
         <term><parameter>--disable-libstdcxx-threads</parameter></term>
         <listitem>
-          <para>Since we have not yet built the C threads library, the C++
-          one cannot be built either.</para>
+          <para>Since gcc-pass1 is built without thread support, the C++
+          thread library cannot be built either.</para>
         </listitem>
       </varlistentry>
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to