mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-12-27 03:33:50 -05:00
GCC Pass 2: Minor rewords
This commit is contained in:
@@ -53,8 +53,8 @@ mv -v gmp-&gmp-version; gmp
|
||||
tar -xf ../mpc-&mpc-version;.tar.gz
|
||||
mv -v mpc-&mpc-version; mpc</userinput></screen>
|
||||
|
||||
<para>If building on x86_64, change the default directory name for 64-bit
|
||||
libraries to <quote>lib</quote>:</para>
|
||||
<para>If you are building on x86_64, change the default directory name for
|
||||
64-bit libraries to <quote>lib</quote>:</para>
|
||||
|
||||
<screen><userinput remap="pre">case $(uname -m) in
|
||||
x86_64)
|
||||
@@ -63,7 +63,7 @@ mv -v mpc-&mpc-version; mpc</userinput></screen>
|
||||
;;
|
||||
esac</userinput></screen>
|
||||
|
||||
<para>Override the building rule of libgcc and libstdc++ headers, to
|
||||
<para>Override the build rules of the libgcc and libstdc++ headers to
|
||||
allow building these libraries with POSIX threads support:</para>
|
||||
|
||||
<screen><userinput remap="pre">sed '/thread_header =/s/@.*@/gthr-posix.h/' \
|
||||
@@ -107,10 +107,10 @@ cd build</userinput></screen>
|
||||
<para>Normally, using <parameter>--host</parameter> ensures that
|
||||
a cross-compiler is used for building GCC, and that compiler knows
|
||||
that it has to look for headers and libraries in <filename
|
||||
class="directory">$LFS</filename>. But the build system for GCC uses
|
||||
other tools, which are not aware of this location. This switch is
|
||||
needed so those tools will find the needed files in <filename
|
||||
class="directory">$LFS</filename>, and not on the host.</para>
|
||||
class="directory">$LFS</filename>. However, the build system for GCC
|
||||
uses additional tools which are not aware of this location. This
|
||||
switch is needed so those tools will find the needed files in
|
||||
<filename class="directory">$LFS</filename>, and not on the host.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user