From db9b7cf06fee692fa06720c2e076eb8d056a907e Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Fri, 26 Jan 2001 20:57:37 +0000 Subject: 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 --- Attic/appendixc/gcc.sgml | 6 +++--- chapter04/gcc.sgml | 6 +++--- chapter05/gcc-local-inst.sgml | 23 +++++++++++------------ chapter05/gcc-static-exp.sgml | 4 ++-- chapter05/gcc-static-inst.sgml | 10 +++++----- chapter05/glibc-inst.sgml | 2 +- chapter06/gcc-inst.sgml | 6 +++--- 7 files changed, 28 insertions(+), 29 deletions(-) diff --git a/Attic/appendixc/gcc.sgml b/Attic/appendixc/gcc.sgml index 4a469b5d9..8b03352cd 100644 --- a/Attic/appendixc/gcc.sgml +++ b/Attic/appendixc/gcc.sgml @@ -1,9 +1,9 @@ -GCC (2.95.2): +GCC (2.95.2.1): -ftp://ftp.gnu.org/gnu/gcc/ +url="ftp://ftp.freesoftware.com/pub/sourceware/gcc/releases/"> +ftp://ftp.freesoftware.com/pub/sourceware/gcc/releases/ diff --git a/chapter04/gcc.sgml b/chapter04/gcc.sgml index 02099f3a9..234c50dee 100644 --- a/chapter04/gcc.sgml +++ b/chapter04/gcc.sgml @@ -1,9 +1,9 @@ -GCC (2.95.2) 9,555 KB: +GCC (2.95.2.1) 9,555 KB: -ftp://packages.linuxfromscratch.org/pub/common-packages/gcc-2.95.2.tar.bz2 +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 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 @@ Installation of GCC on the normal system if necessary -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. @@ -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. -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: @@ -39,12 +38,12 @@ running the following commands: mkdir $LFS/usr/src/gcc-build && cd $LFS/usr/src/gcc-build && - ../gcc-2.95.2/configure \ -    --prefix=/usr/local/gcc2952 \ -    --with-local-prefix=/usr/local/gcc2952 + ../gcc-2.95.2.1/configure \ +    --prefix=/usr/local/gcc29521 \ +    --with-local-prefix=/usr/local/gcc29521 \    - --with-gxx-include-dir=/usr/local/gcc2952/include/g++ \ + --with-gxx-include-dir=/usr/local/gcc29521/include/g++ \    --enable-shared --enable-languages=c,c++ && make bootstrap && diff --git a/chapter05/gcc-static-exp.sgml b/chapter05/gcc-static-exp.sgml index 62639d914..0bed24ed1 100644 --- a/chapter05/gcc-static-exp.sgml +++ b/chapter05/gcc-static-exp.sgml @@ -9,13 +9,13 @@ use the --enable-languages parameter. -ln -s ../usr/lib/gcc-lib/*/2.95.2/cpp cpp: This +ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp: This creates the $LFS/lib/cpp symlink. Some packages explicitely try to find cpp in /lib. -ln -s ../usr/lib/gcc-lib/*/2.95.2/cpp cpp: This +ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp: This creates the $LFS/usr/lib/cpp symlink as there are packages that expect cpp to be in /usr/lib. diff --git a/chapter05/gcc-static-inst.sgml b/chapter05/gcc-static-inst.sgml index fce53546a..551ef1dee 100644 --- a/chapter05/gcc-static-inst.sgml +++ b/chapter05/gcc-static-inst.sgml @@ -2,8 +2,8 @@ Installation of GCC on the LFS system -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: @@ -11,7 +11,7 @@ running the following commands: mkdir $LFS/usr/src/gcc-build && cd $LFS/usr/src/gcc-build && - ../gcc-2.95.2/configure --prefix=/usr \ + ../gcc-2.95.2.1/configure --prefix=/usr \    --with-gxx-include-dir=/usr/include/g++ \    --enable-languages=c,c++ --disable-nls @@ -22,10 +22,10 @@ running the following commands:    gxx_include_dir=$LFS/usr/include/g++ install && cd $LFS/lib && - ln -s ../usr/lib/gcc-lib/*/2.95.2/cpp cpp + ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp && cd $LFS/usr/lib && - ln -s gcc-lib/*/2.95.2/cpp cpp + ln -s gcc-lib/*/2.95.2.1/cpp cpp && cd $LFS/usr/bin && ln -s gcc cc diff --git a/chapter05/glibc-inst.sgml b/chapter05/glibc-inst.sgml index 122f37ac2..bf50f9e89 100644 --- a/chapter05/glibc-inst.sgml +++ b/chapter05/glibc-inst.sgml @@ -85,7 +85,7 @@ commands: If your system didn't have a suitable GCC version installed, change to the $LFS/usr/src/glibc-build -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: diff --git a/chapter06/gcc-inst.sgml b/chapter06/gcc-inst.sgml index 6014560a1..4fc8539c4 100644 --- a/chapter06/gcc-inst.sgml +++ b/chapter06/gcc-inst.sgml @@ -2,8 +2,8 @@ Installation of GCC -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: @@ -11,7 +11,7 @@ running the following commands: mkdir /usr/src/gcc-build && cd /usr/src/gcc-build && - ../gcc-2.95.2/configure --prefix=/usr \ + ../gcc-2.95.2.1/configure --prefix=/usr \    --with-gxx-include-dir=/usr/include/g++ \    --enable-shared -- cgit v1.2.3-54-g00ecf