diff options
Diffstat (limited to 'chapter06/gcc-2953-inst.xml')
-rw-r--r-- | chapter06/gcc-2953-inst.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chapter06/gcc-2953-inst.xml b/chapter06/gcc-2953-inst.xml index 2204eb21a..58a3d5459 100644 --- a/chapter06/gcc-2953-inst.xml +++ b/chapter06/gcc-2953-inst.xml @@ -27,24 +27,24 @@ the system GCC already installed in <filename class="directory">/usr</filename> <para>Apply the patches and make a small adjustment:</para> -<para><screen><userinput>patch -Np1 -i ../&gcc-2953-patch; +<screen><userinput>patch -Np1 -i ../&gcc-2953-patch; patch -Np1 -i ../&gcc-2953-no-fixinc-patch; patch -Np1 -i ../&gcc-2953-returntype-fix-patch; -echo timestamp > gcc/cstamp-h.in</userinput></screen></para> +echo timestamp > gcc/cstamp-h.in</userinput></screen> <para>The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory:</para> -<para><screen><userinput>mkdir ../gcc-2-build -cd ../gcc-2-build</userinput></screen></para> +<screen><userinput>mkdir ../gcc-2-build +cd ../gcc-2-build</userinput></screen> <para>Compile and install gcc:</para> -<para><screen><userinput>../gcc-2.95.3/configure --prefix=/opt/gcc-2.95.3 \ +<screen><userinput>../gcc-2.95.3/configure --prefix=/opt/gcc-2.95.3 \ --enable-shared --enable-languages=c \ --enable-threads=posix make bootstrap -make install</userinput></screen></para> +make install</userinput></screen> </sect2> |