|
@@ -17,7 +17,10 @@ compilers. Instructions for building these can be found at
|
|
<ulink url="&blfs-root;view/cvs/general/gcc.html"/>.</para>
|
|
<ulink url="&blfs-root;view/cvs/general/gcc.html"/>.</para>
|
|
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-2.patch
|
|
<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
|
|
<para>GCC's installation documentation recommends to build the package in a
|
|
dedicated directory separate from the source tree. Create this build
|
|
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><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>
|
|
</sect2>
|