|
@@ -59,8 +59,7 @@ mv -v mpc-&mpc-version; mpc</userinput></screen>
|
|
|
|
|
|
<screen><userinput remap="pre">case $(uname -m) in
|
|
|
x86_64)
|
|
|
- sed -e '/m64=/s/lib64/lib/' \
|
|
|
- -i.orig gcc/config/i386/t-linux64
|
|
|
+ sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
|
|
|
;;
|
|
|
esac</userinput></screen>
|
|
|
|
|
@@ -74,7 +73,7 @@ esac</userinput></screen>
|
|
|
<screen><userinput remap="pre">mkdir -v build
|
|
|
cd build</userinput></screen>
|
|
|
|
|
|
- <para>Create a symlink that allos libgcc to be built with posix threads
|
|
|
+ <para>Create a symlink that allows libgcc to be built with posix threads
|
|
|
support:</para>
|
|
|
|
|
|
<screen><userinput remap="pre">mkdir -pv $LFS_TGT/libgcc
|
|
@@ -109,7 +108,7 @@ ln -s ../../../libgcc/gthr-posix.h $LFS_TGT/libgcc/gthr-default.h</userinput></s
|
|
|
<varlistentry>
|
|
|
<term><parameter>-with-build-sysroot=$LFS</parameter></term>
|
|
|
<listitem>
|
|
|
- <para>Normally, using <parameter>--host=</parameter> ensures that
|
|
|
+ <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 of GCC uses
|
|
@@ -138,7 +137,7 @@ ln -s ../../../libgcc/gthr-posix.h $LFS_TGT/libgcc/gthr-default.h</userinput></s
|
|
|
|
|
|
<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
|
|
|
|
|
|
- <para>As a finishing touch, create a symlink. Many programs and scripts
|
|
|
+ <para>As a finishing touch, create a utility symlink. Many programs and scripts
|
|
|
run <command>cc</command> instead of <command>gcc</command>, which is
|
|
|
used to keep programs generic and therefore usable on all kinds of UNIX
|
|
|
systems where the GNU C compiler is not always installed. Running
|