Changeset b94988f


Ignore:
Timestamp:
01/11/2005 04:19:19 AM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
abc0c08
Parents:
cb83205
Message:

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gcc3.xml

    rcb83205 rb94988f  
    55  %general-entities;
    66
    7   <!ENTITY gcc3-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc3-version;.tar.bz2">
    8   <!ENTITY gcc3-download-ftp "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc3-version;.tar.bz2">
     7  <!ENTITY gcc3-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc3-version;/gcc-&gcc3-version;.tar.bz2">
     8  <!ENTITY gcc3-download-ftp "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc3-version;/gcc-&gcc3-version;.tar.bz2">
    99  <!ENTITY gcc3-size          "23 MB">
    10   <!ENTITY gcc3-buildsize     "473 MB">
    11   <!ENTITY gcc3-time          "2.60 SBU">
     10  <!ENTITY gcc3-buildsize     "489 MB">
     11  <!ENTITY gcc3-time          "5.72 SBU (additional 12.54 SBU to run the test suite)">
    1212]>
    1313
     
    1818</sect1info>
    1919<?dbhtml filename="gcc3.html" ?>
    20 <title>GCC-&gcc3-version;</title>
     20<title><application><acronym>GCC</acronym></application>-&gcc3-version;</title>
     21<indexterm zone="gcc3">
     22<primary sortas="a-gcc3">GCC-&gcc3-version;</primary></indexterm>
    2123
    2224<sect2>
    2325<title>Introduction to <application><acronym>GCC</acronym></application>-&gcc3-version;</title>
    2426
    25 <para>The reason for installing <acronym>GCC</acronym>-&gcc3-version; is that
    26 some <acronym>BLFS</acronym> packages (such as compiled Java) have not
    27 been updated to be compilable by <acronym>GCC</acronym>-&gcc-version;.</para>
     27<para>The reason for installing
     28<application><acronym>GCC</acronym></application>-&gcc3-version; is that
     29some <acronym>BLFS</acronym> packages (such as compiled Java and OpenOffice)
     30have not been updated to be compilable by
     31<application><acronym>GCC</acronym></application>-&gcc-version;. Additionally,
     32some pre-compiled packages may require the
     33<application><acronym>GCC</acronym></application>-&gcc3-version;
     34libraries.</para>
    2835
    2936<sect3><title>Package information</title>
     
    4249<sect3><title>Additional downloads</title>
    4350<itemizedlist spacing='compact'>
    44 
    45 <listitem><para>Required Patch: <ulink
    46 url="&patch-root;/gcc-&gcc3-version;-no_fixincludes-1.patch"/></para></listitem>
    47 
    48 <listitem><para>Required Patch: <ulink
    49 url="&patch-root;/gcc-&gcc3-version;-linkonce-1.patch"/></para></listitem>
    50 
     51<listitem><para>Required patch: <ulink
     52url="&patch-root;/gcc-&gcc3-version;-no_fixincludes-1.patch"/></para>
     53</listitem>
     54<listitem><para>Required patch: <ulink
     55url="&patch-root;/gcc-&gcc3-version;-linkonce-1.patch"/></para>
     56</listitem>
    5157</itemizedlist>
    5258</sect3>
     
    5763<title>Installation of <application><acronym>GCC</acronym></application></title>
    5864
    59 <para>Apply the patches:</para>
     65<screen><userinput><command>patch -Np1 -i ../gcc-&gcc3-version;-no_fixincludes-1.patch &amp;&amp;
     66patch -Np1 -i ../gcc-&gcc3-version;-linkonce-1.patch &amp;&amp;
     67mkdir ../gcc-build &amp;&amp;
     68cd ../gcc-build &amp;&amp;
     69../gcc-&gcc3-version;/configure \
     70    --prefix=/opt/gcc-&gcc3-version; \
     71    --enable-shared --enable-languages=c,c++ \
     72    --enable-threads=posix &amp;&amp;
     73make bootstrap &amp;&amp;
     74make install &amp;&amp;
     75mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5* /usr/lib &amp;&amp;
     76chown -R root:root \
     77    /opt/gcc-&gcc3-version;/lib/gcc-lib/i686-pc-linux-gnu/&gcc3-version;/include</command></userinput></screen>
    6078
    61 <screen><userinput><command>patch -Np1 -i ../gcc-&gcc3-version;-no_fixincludes-1.patch &amp;&amp;
    62 patch -Np1 -i ../gcc-&gcc3-version;-linkonce-1.patch </command></userinput></screen>
     79</sect2>
    6380
    64 <para>The <acronym>GCC</acronym> development team recommends building in a
    65 separate directory.</para>
     81<sect2>
     82<title>Command explanations</title>
    6683
    67 <screen><userinput><command>mkdir ../gcc-build &amp;&amp;
    68 cd ../gcc-build</command></userinput></screen>
     84<para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
     85<application><acronym>GCC</acronym></application> development team recommends
     86building in a separate directory.</para>
    6987
    70 <para>Configure <acronym>GCC</acronym> to build the
     88<para><parameter>--enable-shared --enable-languages=c,c++
     89--enable-threads=posix</parameter>: Configures
     90<application><acronym>GCC</acronym></application> to build the
    7191<application>C</application> and <application>C++</application> compilers and
    7292enable the related <application>C++</application> options.</para>
    7393
    74 <screen><userinput><command>../gcc-&gcc3-version;/configure \
    75     --prefix=/opt/gcc-&gcc3-version; \
    76     --enable-shared --enable-languages=c,c++ \
    77     --enable-threads=posix</command></userinput></screen>
    78 
    79 <para>Compile and install <acronym>GCC</acronym>:</para>
    80 
    81 <screen><userinput><command>make bootstrap &amp;&amp;
    82 make install</command></userinput></screen>
    83 
    84 <para>Move the <application>C++</application> libraries to the standard lib
    85 directory to avoid having to add <userinput>/opt/gcc-&gcc3-version;/lib
    86 </userinput> to <filename>/etc/ld.so.conf</filename>.</para>
    87 
    88 <screen><userinput><command>mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5* /usr/lib</command></userinput></screen>
     94<para><command>mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5*
     95/usr/lib</command>: Moves the <application>C++</application> libraries to the
     96standard lib directory to avoid having to add
     97<userinput>/opt/gcc-&gcc3-version;/lib</userinput> to
     98<filename>/etc/ld.so.conf</filename>.</para>
    8999
    90100</sect2>
     
    93103<title>Configuring <application><acronym>GCC</acronym></application></title>
    94104
    95 <sect3><title>Configuration Information</title>
     105<sect3><title>Configuration information</title>
    96106
    97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/> 
     107<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     108href="../../lib-config.xml"/>
    98109
    99110<para>If you only need the GCC-&gcc3-version; libraries, you may delete
     
    113124<title>Contents</title>
    114125
     126<segmentedlist>
     127<segtitle>Installed Programs</segtitle>
     128<segtitle>Installed Libraries</segtitle>
     129<segtitle>Installed Directories</segtitle>
     130<seglistitem>
     131<seg>c++, cpp, g++, gcc, gccbug, gcov and architecture specific names of these
     132programs.</seg>
     133<seg>libgcc_s.so, libiberty.a, libstdc++.[a,so] and libsupc++.a and other
     134support libraries and files.</seg>
     135<seg>/opt/gcc-&gcc3-version;</seg>
     136</seglistitem>
     137</segmentedlist>
     138
     139<sect3><title>Short Descriptions</title>
    115140<para>The GCC-&gcc3-version; package contains the
    116141<command>gcc</command>-&gcc3-version; <application>C</application> and
     
    118143<filename>libstdc++.so</filename> that is required by some commercial and
    119144pre-compiled packages.</para>
     145</sect3>
    120146
    121147</sect2>
  • introduction/welcome/changelog.xml

    rcb83205 rb94988f  
    3131<listitem><para>January 10th, 2005 [randy]: Updated to Sendmail-8.13.2;
    3232added index tags to the ASH, ZSH, Tcsh, TeX and JadeTeX
     33instructions; fixed broken download links and added index tags to GCC3
    3334instructions.</para></listitem>
    3435
Note: See TracChangeset for help on using the changeset viewer.