aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-pass1-inst.xml')
-rw-r--r--chapter05/gcc-pass1-inst.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter05/gcc-pass1-inst.xml b/chapter05/gcc-pass1-inst.xml
index d0cdf0dc3..d396405ab 100644
--- a/chapter05/gcc-pass1-inst.xml
+++ b/chapter05/gcc-pass1-inst.xml
@@ -20,15 +20,15 @@ or modifying them when building GCC.</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>Prepare GCC to be compiled:</para>
-<para><screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
+<screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
&nbsp;&nbsp;&nbsp;&nbsp;--with-local-prefix=/tools \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-nls --enable-shared \
-&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c</userinput></screen>
<para>The meaning of the configure options:</para>
@@ -55,7 +55,7 @@ have downloaded and unpacked the full GCC tarball.</para></listitem>
<para>Continue with compiling the package:</para>
-<para><screen><userinput>make BOOT_LDFLAGS="-static" bootstrap</userinput></screen></para>
+<screen><userinput>make BOOT_LDFLAGS="-static" bootstrap</userinput></screen>
<para>The meaning of the make parameters:</para>
@@ -73,7 +73,7 @@ compiled correctly.</para></listitem>
<para>And install the package:</para>
-<para><screen><userinput>make install</userinput></screen></para>
+<screen><userinput>make install</userinput></screen>
<para>As a finishing touch we'll create the <filename
class="symlink">/tools/bin/cc</filename> symlink. Many programs and
@@ -83,7 +83,7 @@ Unix systems. Not everybody has the GNU C compiler installed. Simply running
<userinput>cc</userinput> leaves the system administrator free to decide what
C compiler to install, as long as there's a symlink pointing to it:</para>
-<para><screen><userinput>ln -sf gcc /tools/bin/cc</userinput></screen></para>
+<screen><userinput>ln -sf gcc /tools/bin/cc</userinput></screen>
</sect2>