diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-10 20:44:16 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-10 20:44:16 +0000 |
commit | bc8cca581fed74c60e201a89acb38cb2344c9b1b (patch) | |
tree | 083cf3ef71c66c95887fc07c0963aaaf52b3a049 /chapter06/gcc-pass2.xml | |
parent | 67d1e797c307817787ac03eda253312b110ba45d (diff) |
Text updates to cross2 branch Chapter 6
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11917 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc-pass2.xml')
-rw-r--r-- | chapter06/gcc-pass2.xml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml index 7f7d7a021..a5b7f1a26 100644 --- a/chapter06/gcc-pass2.xml +++ b/chapter06/gcc-pass2.xml @@ -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 |