From b94988f66e6679c41ab82acc0c1ec5021dd10641 Mon Sep 17 00:00:00 2001 From: Randy McMurchy Date: Tue, 11 Jan 2005 04:19:19 +0000 Subject: [PATCH] Fixed broken download links and added index tags to the GCC3 instructions git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3259 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general/prog/gcc3.xml | 106 ++++++++++++++++++----------- introduction/welcome/changelog.xml | 1 + 2 files changed, 67 insertions(+), 40 deletions(-) diff --git a/general/prog/gcc3.xml b/general/prog/gcc3.xml index a3b5b3277d..bfeaeba85c 100644 --- a/general/prog/gcc3.xml +++ b/general/prog/gcc3.xml @@ -4,11 +4,11 @@ %general-entities; - - + + - - + + ]> @@ -17,14 +17,21 @@ $Date: 2004-08-09 23:25:57 -0500 (Mon, 09 Aug 2004) $ -GCC-&gcc3-version; +<application><acronym>GCC</acronym></application>-&gcc3-version; + +GCC-&gcc3-version; Introduction to <application><acronym>GCC</acronym></application>-&gcc3-version; -The reason for installing GCC-&gcc3-version; is that -some BLFS packages (such as compiled Java) have not -been updated to be compilable by GCC-&gcc-version;. +The reason for installing +GCC-&gcc3-version; is that +some BLFS packages (such as compiled Java and OpenOffice) +have not been updated to be compilable by +GCC-&gcc-version;. Additionally, +some pre-compiled packages may require the +GCC-&gcc3-version; +libraries. Package information @@ -41,13 +48,12 @@ url="&gcc3-download-ftp;"/> Additional downloads - -Required Patch: - -Required Patch: - +Required patch: + +Required patch: + @@ -56,45 +62,50 @@ url="&patch-root;/gcc-&gcc3-version;-linkonce-1.patch"/> Installation of <application><acronym>GCC</acronym></application> -Apply the patches: - patch -Np1 -i ../gcc-&gcc3-version;-no_fixincludes-1.patch && -patch -Np1 -i ../gcc-&gcc3-version;-linkonce-1.patch +patch -Np1 -i ../gcc-&gcc3-version;-linkonce-1.patch && +mkdir ../gcc-build && +cd ../gcc-build && +../gcc-&gcc3-version;/configure \ + --prefix=/opt/gcc-&gcc3-version; \ + --enable-shared --enable-languages=c,c++ \ + --enable-threads=posix && +make bootstrap && +make install && +mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5* /usr/lib && +chown -R root:root \ + /opt/gcc-&gcc3-version;/lib/gcc-lib/i686-pc-linux-gnu/&gcc3-version;/include -The GCC development team recommends building in a -separate directory. + -mkdir ../gcc-build && -cd ../gcc-build + +Command explanations -Configure GCC to build the +mkdir ../gcc-build; cd ../gcc-build: The +GCC development team recommends +building in a separate directory. + +--enable-shared --enable-languages=c,c++ +--enable-threads=posix: Configures +GCC to build the C and C++ compilers and enable the related C++ options. -../gcc-&gcc3-version;/configure \ - --prefix=/opt/gcc-&gcc3-version; \ - --enable-shared --enable-languages=c,c++ \ - --enable-threads=posix - -Compile and install GCC: - -make bootstrap && -make install - -Move the C++ libraries to the standard lib -directory to avoid having to add /opt/gcc-&gcc3-version;/lib - to /etc/ld.so.conf. - -mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5* /usr/lib +mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5* +/usr/lib: Moves the C++ libraries to the +standard lib directory to avoid having to add +/opt/gcc-&gcc3-version;/lib to +/etc/ld.so.conf. Configuring <application><acronym>GCC</acronym></application> -Configuration Information +Configuration information - + If you only need the GCC-&gcc3-version; libraries, you may delete /opt/gcc-&gcc3-version;. @@ -112,11 +123,26 @@ environment variable before compiling the concerned package. Contents + +Installed Programs +Installed Libraries +Installed Directories + +c++, cpp, g++, gcc, gccbug, gcov and architecture specific names of these +programs. +libgcc_s.so, libiberty.a, libstdc++.[a,so] and libsupc++.a and other +support libraries and files. +/opt/gcc-&gcc3-version; + + + +Short Descriptions The GCC-&gcc3-version; package contains the gcc-&gcc3-version; C and C++ compilers and GCC-&gcc3-version; libstdc++.so that is required by some commercial and pre-compiled packages. + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 15f594186d..576078d9a9 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -30,6 +30,7 @@ OpenLDAP-2.2.20 and Berkeley DB-4.3.27. January 10th, 2005 [randy]: Updated to Sendmail-8.13.2; added index tags to the ASH, ZSH, Tcsh, TeX and JadeTeX +instructions; fixed broken download links and added index tags to GCC3 instructions. January 9th, 2005 [larry]: Updated to