aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-local-inst.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-local-inst.sgml')
-rw-r--r--chapter05/gcc-local-inst.sgml23
1 files changed, 11 insertions, 12 deletions
diff --git a/chapter05/gcc-local-inst.sgml b/chapter05/gcc-local-inst.sgml
index c98ab6e0f..983e0ebd4 100644
--- a/chapter05/gcc-local-inst.sgml
+++ b/chapter05/gcc-local-inst.sgml
@@ -2,11 +2,10 @@
<title>Installation of GCC on the normal system if necessary</title>
<para>
-In order to compile Glibc-2.1.3 later on you need to have gcc-2.95.2
-installed. Although any GCC version above 2.8 would do, 2.95.2 is the
-highly
-recommended version to use. egcs-2.91.x is also known to work. If you
-don't have gcc-2.95.x or egcs-2.91.x you need to install gcc-2.95.2 on
+In order to compile Glibc-2.1.3 later on you need to have gcc-2.95.2.1
+installed. Although any GCC version above 2.8 would do, 2.95.2.1 is the
+highly recommended version to use. egcs-2.91.x is also known to work. If you
+don't have gcc-2.95.x or egcs-2.91.x you need to install gcc-2.95.2.1 on
your normal sytem before you can compile Glibc later in this chapter.
</para>
@@ -25,13 +24,13 @@ following command:
If you normal Linux system does not have gcc-2.95.x or egcs-2.91.x
installed you need to install it now. We won't replace the current
compiler on your system, but instead we will install gcc in a separate
-directory (/usr/local/gcc2952). This way no binaries or header files will be
+directory (/usr/local/gcc29521). This way no binaries or header files will be
replaced.
</para>
<para>
-After you unpacked the gcc-2.95.2 archive don't enter the newly created
-gcc-2.95.2 directory but stay in the $LFS/usr/src directory. Install GCC by
+After you unpacked the gcc-2.95.2.1 archive don't enter the newly created
+gcc-2.95.2.1 directory but stay in the $LFS/usr/src directory. Install GCC by
running the following commands:
</para>
@@ -39,12 +38,12 @@ running the following commands:
<userinput>mkdir $LFS/usr/src/gcc-build &amp;&amp;</userinput>
<userinput>cd $LFS/usr/src/gcc-build &amp;&amp;</userinput>
- <userinput>../gcc-2.95.2/configure \</userinput>
- <userinput>&nbsp;&nbsp;&nbsp;--prefix=/usr/local/gcc2952 \</userinput>
- <userinput>&nbsp;&nbsp;&nbsp;--with-local-prefix=/usr/local/gcc2952
+ <userinput>../gcc-2.95.2.1/configure \</userinput>
+ <userinput>&nbsp;&nbsp;&nbsp;--prefix=/usr/local/gcc29521 \</userinput>
+ <userinput>&nbsp;&nbsp;&nbsp;--with-local-prefix=/usr/local/gcc29521
\</userinput>
<userinput>&nbsp;&nbsp;
- --with-gxx-include-dir=/usr/local/gcc2952/include/g++ \</userinput>
+ --with-gxx-include-dir=/usr/local/gcc29521/include/g++ \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--enable-shared --enable-languages=c,c++
&amp;&amp;</userinput>
<userinput>make bootstrap &amp;&amp;</userinput>