r3259 - in trunk/BOOK: general/prog introduction/welcome

randy at linuxfromscratch.org randy at linuxfromscratch.org
Mon Jan 10 20:19:20 PST 2005


Author: randy
Date: 2005-01-10 21:19:19 -0700 (Mon, 10 Jan 2005)
New Revision: 3259

Modified:
   trunk/BOOK/general/prog/gcc3.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Fixed broken download links and added index tags to the GCC3 instructions

Modified: trunk/BOOK/general/prog/gcc3.xml
===================================================================
--- trunk/BOOK/general/prog/gcc3.xml	2005-01-11 03:05:37 UTC (rev 3258)
+++ trunk/BOOK/general/prog/gcc3.xml	2005-01-11 04:19:19 UTC (rev 3259)
@@ -4,11 +4,11 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!ENTITY gcc3-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc3-version;.tar.bz2">
-  <!ENTITY gcc3-download-ftp "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc3-version;.tar.bz2">
+  <!ENTITY gcc3-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc3-version;/gcc-&gcc3-version;.tar.bz2">
+  <!ENTITY gcc3-download-ftp "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc3-version;/gcc-&gcc3-version;.tar.bz2">
   <!ENTITY gcc3-size          "23 MB">
-  <!ENTITY gcc3-buildsize     "473 MB">
-  <!ENTITY gcc3-time          "2.60 SBU">
+  <!ENTITY gcc3-buildsize     "489 MB">
+  <!ENTITY gcc3-time          "5.72 SBU (additional 12.54 SBU to run the test suite)">
 ]>
 
 <sect1 id="gcc3" xreflabel="GCC-&gcc3-version;">
@@ -17,14 +17,21 @@
 <date>$Date: 2004-08-09 23:25:57 -0500 (Mon, 09 Aug 2004) $</date>
 </sect1info>
 <?dbhtml filename="gcc3.html" ?>
-<title>GCC-&gcc3-version;</title>
+<title><application><acronym>GCC</acronym></application>-&gcc3-version;</title>
+<indexterm zone="gcc3">
+<primary sortas="a-gcc3">GCC-&gcc3-version;</primary></indexterm>
 
 <sect2>
 <title>Introduction to <application><acronym>GCC</acronym></application>-&gcc3-version;</title>
 
-<para>The reason for installing <acronym>GCC</acronym>-&gcc3-version; is that 
-some <acronym>BLFS</acronym> packages (such as compiled Java) have not
-been updated to be compilable by <acronym>GCC</acronym>-&gcc-version;.</para>
+<para>The reason for installing 
+<application><acronym>GCC</acronym></application>-&gcc3-version; is that 
+some <acronym>BLFS</acronym> packages (such as compiled Java and OpenOffice) 
+have not been updated to be compilable by 
+<application><acronym>GCC</acronym></application>-&gcc-version;. Additionally, 
+some pre-compiled packages may require the 
+<application><acronym>GCC</acronym></application>-&gcc3-version; 
+libraries.</para>
 
 <sect3><title>Package information</title>
 <itemizedlist spacing='compact'>
@@ -41,13 +48,12 @@
 
 <sect3><title>Additional downloads</title>
 <itemizedlist spacing='compact'>
-
-<listitem><para>Required Patch: <ulink 
-url="&patch-root;/gcc-&gcc3-version;-no_fixincludes-1.patch"/></para></listitem>
-
-<listitem><para>Required Patch: <ulink
-url="&patch-root;/gcc-&gcc3-version;-linkonce-1.patch"/></para></listitem>
-
+<listitem><para>Required patch: <ulink 
+url="&patch-root;/gcc-&gcc3-version;-no_fixincludes-1.patch"/></para>
+</listitem>
+<listitem><para>Required patch: <ulink 
+url="&patch-root;/gcc-&gcc3-version;-linkonce-1.patch"/></para>
+</listitem>
 </itemizedlist>
 </sect3>
 
@@ -56,45 +62,50 @@
 <sect2>
 <title>Installation of <application><acronym>GCC</acronym></application></title>
 
-<para>Apply the patches:</para>
-
 <screen><userinput><command>patch -Np1 -i ../gcc-&gcc3-version;-no_fixincludes-1.patch &&
-patch -Np1 -i ../gcc-&gcc3-version;-linkonce-1.patch </command></userinput></screen>
+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</command></userinput></screen>
 
-<para>The <acronym>GCC</acronym> development team recommends building in a 
-separate directory.</para>
+</sect2>
 
-<screen><userinput><command>mkdir ../gcc-build &&
-cd ../gcc-build</command></userinput></screen>
+<sect2>
+<title>Command explanations</title>
 
-<para>Configure <acronym>GCC</acronym> to build the
+<para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The 
+<application><acronym>GCC</acronym></application> development team recommends 
+building in a separate directory.</para>
+
+<para><parameter>--enable-shared --enable-languages=c,c++ 
+--enable-threads=posix</parameter>: Configures 
+<application><acronym>GCC</acronym></application> to build the 
 <application>C</application> and <application>C++</application> compilers and 
 enable the related <application>C++</application> options.</para>
 
-<screen><userinput><command>../gcc-&gcc3-version;/configure \
-    --prefix=/opt/gcc-&gcc3-version; \
-    --enable-shared --enable-languages=c,c++ \
-    --enable-threads=posix</command></userinput></screen>
+<para><command>mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5* 
+/usr/lib</command>: Moves the <application>C++</application> libraries to the 
+standard lib directory to avoid having to add 
+<userinput>/opt/gcc-&gcc3-version;/lib</userinput> to 
+<filename>/etc/ld.so.conf</filename>.</para>
 
-<para>Compile and install <acronym>GCC</acronym>:</para>
-
-<screen><userinput><command>make bootstrap &&
-make install</command></userinput></screen>
-
-<para>Move the <application>C++</application> libraries to the standard lib 
-directory to avoid having to add <userinput>/opt/gcc-&gcc3-version;/lib
-</userinput> to <filename>/etc/ld.so.conf</filename>.</para>
-
-<screen><userinput><command>mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5* /usr/lib</command></userinput></screen>
-
 </sect2>
 
 <sect2>
 <title>Configuring <application><acronym>GCC</acronym></application></title>
 
-<sect3><title>Configuration Information</title>
+<sect3><title>Configuration information</title>
 
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>  
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 
+href="../../lib-config.xml"/>
 
 <para>If you only need the GCC-&gcc3-version; libraries, you may delete
 <filename>/opt/gcc-&gcc3-version;</filename>.</para>
@@ -112,11 +123,26 @@
 <sect2>
 <title>Contents</title>
 
+<segmentedlist>
+<segtitle>Installed Programs</segtitle>
+<segtitle>Installed Libraries</segtitle>
+<segtitle>Installed Directories</segtitle>
+<seglistitem>
+<seg>c++, cpp, g++, gcc, gccbug, gcov and architecture specific names of these 
+programs.</seg>
+<seg>libgcc_s.so, libiberty.a, libstdc++.[a,so] and libsupc++.a and other 
+support libraries and files.</seg>
+<seg>/opt/gcc-&gcc3-version;</seg>
+</seglistitem>
+</segmentedlist>
+
+<sect3><title>Short Descriptions</title>
 <para>The GCC-&gcc3-version; package contains the
 <command>gcc</command>-&gcc3-version; <application>C</application> and
 <application>C++</application> compilers and GCC-&gcc3-version;
 <filename>libstdc++.so</filename> that is required by some commercial and
 pre-compiled packages.</para>
+</sect3>
 
 </sect2>
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-01-11 03:05:37 UTC (rev 3258)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-01-11 04:19:19 UTC (rev 3259)
@@ -30,6 +30,7 @@
 
 <listitem><para>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.</para></listitem>
 
 <listitem><para>January 9th, 2005 [larry]: Updated to




More information about the blfs-book mailing list