aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc-inst.xml
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2003-10-09 23:22:07 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2003-10-09 23:22:07 +0000
commit21ba4e3570c1c2524b0733d492ced9634b259353 (patch)
treef5124d2e6106d2e29e5b32f79b56a90defabdbd9 /chapter06/gcc-inst.xml
parent1a7aecc6119f540e24a4e8da1b583a625b5690c1 (diff)
Internal markup reworking to fix the extraneous whitespace problem in the "tidy generated" web site pages. Essentially replace all ocurrences of <para><screen> with <screen> (and of course the matching closing tags).
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2958 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc-inst.xml')
-rw-r--r--chapter06/gcc-inst.xml22
1 files changed, 11 insertions, 11 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index 35e49751d..3b9be4484 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -20,8 +20,8 @@ GCC-testsuite package. The full GCC package contains even more
compilers. Instructions for building these can be found at
<ulink url="&blfs-root;view/stable/general/gcc.html"/>.</para>
-<para><screen><userinput>patch -Np1 -i ../&gcc-nofixincludes-patch;
-patch -Np1 -i ../&gcc-suppress-libiberty-patch;</userinput></screen></para>
+<screen><userinput>patch -Np1 -i ../&gcc-nofixincludes-patch;
+patch -Np1 -i ../&gcc-suppress-libiberty-patch;</userinput></screen>
<para>The second patch here suppresses the installation of libiberty from GCC,
as we will use the one provided by binutils instead. Be careful
@@ -31,24 +31,24 @@ here.</para>
<para>The GCC documentation recommends building GCC outside of the source
directory in a dedicated build directory:</para>
-<para><screen><userinput>mkdir ../gcc-build
-cd ../gcc-build</userinput></screen></para>
+<screen><userinput>mkdir ../gcc-build
+cd ../gcc-build</userinput></screen>
<para>Now prepare GCC for compilation:</para>
-<para><screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \
+<screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --enable-threads=posix \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-__cxa_atexit --enable-clocale=gnu \
-&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++</userinput></screen>
<para>Compile the package:</para>
-<para><screen><userinput>make</userinput></screen></para>
+<screen><userinput>make</userinput></screen>
<para>Test the results, but don't stop at errors (you'll remember the few
known ones):</para>
-<para><screen><userinput>make -k check</userinput></screen></para>
+<screen><userinput>make -k check</userinput></screen>
<para>The test suite notes from <xref linkend="ch05-gcc-pass2"/> are still very
much appropriate here. Be sure to refer back there should you have any
@@ -56,18 +56,18 @@ doubts.</para>
<para>And install the package:</para>
-<para><screen><userinput>make install</userinput></screen></para>
+<screen><userinput>make install</userinput></screen>
<para>Some packages expect the C PreProcessor to be installed in the
<filename>/lib</filename> directory.
To honor those packages, create this symlink:</para>
-<para><screen><userinput>ln -s ../usr/bin/cpp /lib</userinput></screen></para>
+<screen><userinput>ln -s ../usr/bin/cpp /lib</userinput></screen>
<para>Many packages use the name <userinput>cc</userinput> to call the C
compiler. To satisfy those packages, create a symlink:</para>
-<para><screen><userinput>ln -s gcc /usr/bin/cc</userinput></screen></para>
+<screen><userinput>ln -s gcc /usr/bin/cc</userinput></screen>
<note><para>At this point it is strongly recommended to repeat the sanity check
we performed earlier in the chapter. Refer back to