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

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11758 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Pierre Labastie 2020-02-23 06:56:18 +00:00
parent e8d05b3f95
commit 09e3f94d7c
2 changed files with 12 additions and 6 deletions

View File

@ -86,10 +86,16 @@ RANLIB=$LFS_TGT-ranlib \
<varlistentry> <varlistentry>
<term><parameter>--with-sysroot</parameter></term> <term><parameter>--with-sysroot</parameter></term>
<listitem> <listitem>
<para>The sysroot feature enables the linker to find shared objects <para>This defines a default (non-existent) sysroot directory
which are required by other shared objects explicitly included on the <filename class="directory">/tools/$LFS_TGT/sys-root</filename>.
linker's command line. Without this, some packages may not build It is useful when looking for shared objects which are required by
successfully on some hosts.</para> 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> </listitem>
</varlistentry> </varlistentry>

View File

@ -82,8 +82,8 @@ cd build</userinput></screen>
<varlistentry> <varlistentry>
<term><parameter>--disable-libstdcxx-threads</parameter></term> <term><parameter>--disable-libstdcxx-threads</parameter></term>
<listitem> <listitem>
<para>Since we have not yet built the C threads library, the C++ <para>Since gcc-pass1 is built without thread support, the C++
one cannot be built either.</para> thread library cannot be built either.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>