diff options
author | Jeremy Utley <jeremy@linuxfromscratch.org> | 2003-09-11 18:21:18 +0000 |
---|---|---|
committer | Jeremy Utley <jeremy@linuxfromscratch.org> | 2003-09-11 18:21:18 +0000 |
commit | 8998cdef82f688702e3bdff4e0bcb4f7d28f19fa (patch) | |
tree | 8c266dfc9316a6a4cec3272afe83a43578206314 /chapter06 | |
parent | 72730c35f59be80aeeddcefb2ac8bab15432c9a2 (diff) |
Added Greg's patch to GCC to suppress libiberty, and allowed binutils' libiberty to stay
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2767 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/binutils-inst.xml | 5 | ||||
-rw-r--r-- | chapter06/gcc-inst.xml | 9 |
2 files changed, 4 insertions, 10 deletions
diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml index ee4212fd4..d55f9b49a 100644 --- a/chapter06/binutils-inst.xml +++ b/chapter06/binutils-inst.xml @@ -39,10 +39,5 @@ generates code that can be executed on PowerPC machines).</para> <para><screen><userinput>make tooldir=/usr install</userinput></screen></para> -<para>And remove a library that normally is not meant to be installed on its -own:</para> - -<para><screen><userinput>rm /usr/lib/libiberty.a</userinput></screen></para> - </sect2> diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index 5895d3b33..5e5dab528 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -17,7 +17,10 @@ compilers. Instructions for building these can be found at <ulink url="&blfs-root;view/cvs/general/gcc.html"/>.</para> <para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-2.patch -</userinput></screen></para> +patch -Np1 -i ../gcc-3.3.1-suppress-libiberty.patch</userinput></screen></para> + +<para>The second patch here suppresses the installation of libiberty from GCC, +as we will use the one provided by binutils instead.</para> <para>GCC's installation documentation recommends to build the package in a dedicated directory separate from the source tree. Create this build @@ -76,8 +79,4 @@ compiler. To satisfy those packages, create a symlink:</para> <para><screen><userinput>ln -s gcc /usr/bin/cc</userinput></screen></para> -<para>Remove the spurious a-out library again:</para> - -<para><screen><userinput>rm /usr/lib/libiberty.a</userinput></screen></para> - </sect2> |