浏览代码

Upgraded from gcc-2.95.2 to gcc-2.95.2.1

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@39 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 年之前
父节点
当前提交
db9b7cf06f

+ 3 - 3
Attic/appendixc/gcc.sgml

@@ -1,9 +1,9 @@
 <listitem><para>
 <listitem><para>
 
 
-GCC (2.95.2):
+GCC (2.95.2.1):
 	<ulink 
 	<ulink 
-url="ftp://ftp.gnu.org/gnu/gcc/">
-ftp://ftp.gnu.org/gnu/gcc/</ulink>
+url="ftp://ftp.freesoftware.com/pub/sourceware/gcc/releases/">
+ftp://ftp.freesoftware.com/pub/sourceware/gcc/releases/</ulink>
 
 
 </para></listitem>
 </para></listitem>
 
 

+ 3 - 3
chapter04/gcc.sgml

@@ -1,9 +1,9 @@
 <listitem><para>
 <listitem><para>
 
 
-GCC (2.95.2) 9,555 KB:
+GCC (2.95.2.1) 9,555 KB:
 	<ulink
 	<ulink
-url="ftp://packages.linuxfromscratch.org/pub/common-packages/gcc-2.95.2.tar.bz2">
-ftp://packages.linuxfromscratch.org/pub/common-packages/gcc-2.95.2.tar.bz2</ulink>
+url="ftp://packages.linuxfromscratch.org/pub/new-in-cvs/gcc-2.95.2.1.tar.bz2">
+ftp://packages.linuxfromscratch.org/pub/new-in-cvs/gcc-2.95.2.1.tar.bz2</ulink>
 
 
 </para></listitem>
 </para></listitem>
 
 

+ 11 - 12
chapter05/gcc-local-inst.sgml

@@ -2,11 +2,10 @@
 <title>Installation of GCC on the normal system if necessary</title>
 <title>Installation of GCC on the normal system if necessary</title>
 
 
 <para>
 <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.
 your normal sytem before you can compile Glibc later in this chapter.
 </para>
 </para>
 
 
@@ -25,13 +24,13 @@ following command:
 If you normal Linux system does not have gcc-2.95.x or egcs-2.91.x 
 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 
 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 
 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.
 replaced.
 </para>
 </para>
 
 
 <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:
 running the following commands:
 </para>
 </para>
 
 
@@ -39,12 +38,12 @@ running the following commands:
 
 
 	<userinput>mkdir $LFS/usr/src/gcc-build &amp;&amp;</userinput>
 	<userinput>mkdir $LFS/usr/src/gcc-build &amp;&amp;</userinput>
 	<userinput>cd $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>
 	<userinput>&nbsp;&nbsp;
 	<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++
 	<userinput>&nbsp;&nbsp;&nbsp;--enable-shared --enable-languages=c,c++
 		 &amp;&amp;</userinput>
 		 &amp;&amp;</userinput>
 	<userinput>make bootstrap &amp;&amp;</userinput>
 	<userinput>make bootstrap &amp;&amp;</userinput>

+ 2 - 2
chapter05/gcc-static-exp.sgml

@@ -9,13 +9,13 @@ use the --enable-languages parameter.
 </para>
 </para>
 
 
 <para>
 <para>
-<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2/cpp cpp:</userinput> This
+<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp:</userinput> This
 creates the $LFS/lib/cpp symlink. Some packages explicitely try to find
 creates the $LFS/lib/cpp symlink. Some packages explicitely try to find
 cpp in /lib.
 cpp in /lib.
 </para>
 </para>
 
 
 <para>
 <para>
-<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2/cpp cpp:</userinput> This
+<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp:</userinput> This
 creates the $LFS/usr/lib/cpp symlink as there are packages that expect
 creates the $LFS/usr/lib/cpp symlink as there are packages that expect
 cpp to be in /usr/lib.
 cpp to be in /usr/lib.
 </para>
 </para>

+ 5 - 5
chapter05/gcc-static-inst.sgml

@@ -2,8 +2,8 @@
 <title>Installation of GCC on the LFS system</title>
 <title>Installation of GCC on the LFS system</title>
 
 
 <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:
 running the following commands:
 </para>
 </para>
 
 
@@ -11,7 +11,7 @@ running the following commands:
 
 
 	<userinput>mkdir $LFS/usr/src/gcc-build &amp;&amp;</userinput>
 	<userinput>mkdir $LFS/usr/src/gcc-build &amp;&amp;</userinput>
 	<userinput>cd $LFS/usr/src/gcc-build &amp;&amp;</userinput>
 	<userinput>cd $LFS/usr/src/gcc-build &amp;&amp;</userinput>
-	<userinput>../gcc-2.95.2/configure --prefix=/usr \</userinput>
+	<userinput>../gcc-2.95.2.1/configure --prefix=/usr \</userinput>
 	<userinput>&nbsp;&nbsp;&nbsp;--with-gxx-include-dir=/usr/include/g++ 
 	<userinput>&nbsp;&nbsp;&nbsp;--with-gxx-include-dir=/usr/include/g++ 
 		\</userinput>
 		\</userinput>
 	<userinput>&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --disable-nls
 	<userinput>&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --disable-nls
@@ -22,10 +22,10 @@ running the following commands:
 	<userinput>&nbsp;&nbsp;&nbsp;gxx_include_dir=$LFS/usr/include/g++ 
 	<userinput>&nbsp;&nbsp;&nbsp;gxx_include_dir=$LFS/usr/include/g++ 
 		install &amp;&amp;</userinput>
 		install &amp;&amp;</userinput>
 	<userinput>cd $LFS/lib &amp;&amp;</userinput>
 	<userinput>cd $LFS/lib &amp;&amp;</userinput>
-	<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2/cpp cpp
+	<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp
 		 &amp;&amp;</userinput>
 		 &amp;&amp;</userinput>
 	<userinput>cd $LFS/usr/lib &amp;&amp;</userinput>
 	<userinput>cd $LFS/usr/lib &amp;&amp;</userinput>
-	<userinput>ln -s gcc-lib/*/2.95.2/cpp cpp
+	<userinput>ln -s gcc-lib/*/2.95.2.1/cpp cpp
 		 &amp;&amp;</userinput>
 		 &amp;&amp;</userinput>
 	<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
 	<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
 	<userinput>ln -s gcc cc</userinput>
 	<userinput>ln -s gcc cc</userinput>

+ 1 - 1
chapter05/glibc-inst.sgml

@@ -85,7 +85,7 @@ commands:
 <para>
 <para>
 If your system didn't have a suitable GCC version installed, change to the
 If your system didn't have a suitable GCC version installed, change to the
 <filename class="directory">$LFS/usr/src/glibc-build</filename>
 <filename class="directory">$LFS/usr/src/glibc-build</filename>
-directory and install Glibc using the gcc-2.95.2 you just installed by 
+directory and install Glibc using the gcc-2.95.2.1 you just installed by 
 running the following commands:
 running the following commands:
 </para>
 </para>
 
 

+ 3 - 3
chapter06/gcc-inst.sgml

@@ -2,8 +2,8 @@
 <title>Installation of GCC</title>
 <title>Installation of GCC</title>
 
 
 <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 /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 /usr/src directory. Install GCC by 
 running the following commands:
 running the following commands:
 </para>
 </para>
 
 
@@ -11,7 +11,7 @@ running the following commands:
 
 
 	<userinput>mkdir /usr/src/gcc-build &amp;&amp;</userinput>
 	<userinput>mkdir /usr/src/gcc-build &amp;&amp;</userinput>
 	<userinput>cd /usr/src/gcc-build &amp;&amp;</userinput>
 	<userinput>cd /usr/src/gcc-build &amp;&amp;</userinput>
-	<userinput>../gcc-2.95.2/configure --prefix=/usr \</userinput>
+	<userinput>../gcc-2.95.2.1/configure --prefix=/usr \</userinput>
 	<userinput>&nbsp;&nbsp;&nbsp;--with-gxx-include-dir=/usr/include/g++ 
 	<userinput>&nbsp;&nbsp;&nbsp;--with-gxx-include-dir=/usr/include/g++ 
 		\</userinput>
 		\</userinput>
 	<userinput>&nbsp;&nbsp;&nbsp;--enable-shared 
 	<userinput>&nbsp;&nbsp;&nbsp;--enable-shared