Ignore:
Timestamp:
05/04/2005 09:21:53 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
f079a990
Parents:
3c63b3f1
Message:

Tagged gcc3.xml

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3972 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gcc3.xml

    r3c63b3f1 rb1df977  
    1414
    1515<sect1 id="gcc3" xreflabel="GCC-&gcc3-version;">
    16 <sect1info>
    17 <othername>$LastChangedBy$</othername>
    18 <date>$Date$</date>
    19 </sect1info>
    20 <?dbhtml filename="gcc3.html" ?>
    21 <title><application><acronym>GCC</acronym></application>-&gcc3-version;</title>
    22 <indexterm zone="gcc3">
    23 <primary sortas="a-GCC-3-3">GCC-&gcc3-version;</primary></indexterm>
     16  <?dbhtml filename="gcc3.html" ?>
    2417
    25 <sect2>
    26 <title>Introduction to
    27 <application><acronym>GCC</acronym></application>-&gcc3-version;</title>
     18  <sect1info>
     19    <othername>$LastChangedBy$</othername>
     20    <date>$Date$</date>
     21  </sect1info>
    2822
    29 <para>The reason for installing
    30 <application><acronym>GCC</acronym></application>-&gcc3-version; is that
    31 some <acronym>BLFS</acronym> packages (such as compiled
    32 <application>Java</application> and <application>OpenOffice</application>)
    33 have not been updated to be compilable by
    34 <application><acronym>GCC</acronym></application>-&gcc-version;. Additionally,
    35 some pre-compiled packages may require the
    36 <application><acronym>GCC</acronym></application>-&gcc3-version;
    37 libraries.</para>
     23  <title>GCC-&gcc3-version;</title>
    3824
    39 <sect3><title>Package information</title>
    40 <itemizedlist spacing='compact'>
    41 <listitem><para>Download (HTTP): <ulink
    42 url="&gcc3-download-http;"/></para></listitem>
    43 <listitem><para>Download (FTP): <ulink
    44 url="&gcc3-download-ftp;"/></para></listitem>
    45 <listitem><para>Download MD5 sum: &gcc3-md5sum;</para></listitem>
    46 <listitem><para>Download size: &gcc3-size;</para></listitem>
    47 <listitem><para>Estimated disk space required:
    48 &gcc3-buildsize;</para></listitem>
    49 <listitem><para>Estimated build time:
    50 &gcc3-time;</para></listitem></itemizedlist>
    51 </sect3>
     25  <indexterm zone="gcc3">
     26    <primary sortas="a-GCC-3-3">GCC-&gcc3-version;</primary>
     27  </indexterm>
    5228
    53 <sect3><title>Additional downloads</title>
    54 <itemizedlist spacing='compact'>
    55 <listitem><para>Required patch: <ulink
    56 url="&patch-root;/gcc-&gcc3-version;-no_fixincludes-1.patch"/></para>
    57 </listitem>
    58 <listitem><para>Required patch: <ulink
    59 url="&patch-root;/gcc-&gcc3-version;-linkonce-1.patch"/></para>
    60 </listitem>
    61 </itemizedlist>
    62 </sect3>
     29  <sect2 role="package">
     30    <title>Introduction to GCC-&gcc3-version;</title>
    6331
    64 <sect3><title><application><acronym>GCC</acronym>-3</application>
    65 dependencies</title>
    66 <sect4><title>Optional</title>
    67 <para><xref linkend="dejagnu"/> (required to run the full test suite)</para>
    68 </sect4>
    69 </sect3>
     32    <para>The reason for installing
     33    <application>GCC</application>-&gcc3-version; is that
     34    some BLFS packages (such as compiled <application>Java</application>
     35    and <application>OpenOffice</application>) have not been updated to be
     36    compilable by <application>GCC</application>-&gcc-version;. Additionally,
     37    some pre-compiled packages may require the
     38    <application>GCC</application>-&gcc3-version; libraries.</para>
    7039
    71 </sect2>
     40    <bridgehead renderas="sect3">Package Information</bridgehead>
     41    <itemizedlist spacing="compact">
     42      <listitem>
     43        <para>Download (HTTP): <ulink url="&gcc3-download-http;"/></para>
     44      </listitem>
     45      <listitem>
     46        <para>Download (FTP): <ulink url="&gcc3-download-ftp;"/></para>
     47      </listitem>
     48      <listitem>
     49        <para>Download MD5 sum: &gcc3-md5sum;</para>
     50      </listitem>
     51      <listitem>
     52        <para>Download size: &gcc3-size;</para>
     53      </listitem>
     54      <listitem>
     55        <para>Estimated disk space required: &gcc3-buildsize;</para>
     56      </listitem>
     57      <listitem>
     58        <para>Estimated build time: &gcc3-time;</para>
     59      </listitem>
     60    </itemizedlist>
    7261
    73 <sect2>
    74 <title>Installation of
    75 <application><acronym>GCC</acronym>-3</application></title>
     62    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     63    <itemizedlist spacing='compact'>
     64      <listitem>
     65        <para>Required patch: <ulink
     66        url="&patch-root;/gcc-&gcc3-version;-no_fixincludes-1.patch"/></para>
     67      </listitem>
     68      <listitem>
     69        <para>Required patch: <ulink
     70        url="&patch-root;/gcc-&gcc3-version;-linkonce-1.patch"/></para>
     71      </listitem>
     72    </itemizedlist>
    7673
    77 <screen><userinput><command>patch -Np1 -i ../gcc-&gcc3-version;-no_fixincludes-1.patch &amp;&amp;
     74    <bridgehead renderas="sect3">GCC-&gcc3-version; Dependencies</bridgehead>
     75    <para><xref linkend="dejagnu"/> (required to run the full test suite)</para>
     76
     77  </sect2>
     78
     79  <sect2 role="installation">
     80    <title>Installation of GCC-&gcc3-version;</title>
     81
     82    <para>Install <application>GCC</application>-&gcc3-version; by running
     83    the following commands:</para>
     84
     85<screen><userinput>patch -Np1 -i ../gcc-&gcc3-version;-no_fixincludes-1.patch &amp;&amp;
    7886patch -Np1 -i ../gcc-&gcc3-version;-linkonce-1.patch &amp;&amp;
    7987mkdir ../gcc-build &amp;&amp;
     
    8391    --enable-shared --enable-languages=c,c++ \
    8492    --enable-threads=posix &amp;&amp;
    85 make bootstrap</command></userinput></screen>
     93make bootstrap</userinput></screen>
    8694
    87 <para>If desired, run the test suite using the following commands. The
    88 <command>test_summary</command> commands create log files which can be
    89 compared to known good results located at <ulink
    90 url="http://linuxfromscratch.org/~randy/gcc-334-lfs-6.0-test_summary.log"/>
    91 and <ulink
    92 url="http://linuxfromscratch.org/~randy/gcc-334-lfs-6.0-test_summary_short.log"/>.
    93 </para>
     95    <para>If desired, run the test suite using the following commands. The
     96    <command>test_summary</command> commands create log files which can be
     97    compared to known good results located at <ulink
     98    url="http://linuxfromscratch.org/~randy/gcc-334-lfs-6.0-test_summary.log"/>
     99    and <ulink
     100    url="http://linuxfromscratch.org/~randy/gcc-334-lfs-6.0-test_summary_short.log"/>.</para>
    94101
    95 <screen><userinput><command>make -k check &amp;&amp;
     102<screen><userinput>make -k check &amp;&amp;
    96103../gcc-3.3.4/contrib/test_summary >test_summary.log 2>&amp;1 &amp;&amp;
    97104../gcc-3.3.4/contrib/test_summary | \
    98     grep -A7 Summ >test_summary_short.log 2>&amp;1</command></userinput></screen>
     105    grep -A7 Summ >test_summary_short.log 2>&amp;1</userinput></screen>
    99106
    100 <para>Now, as the root user:</para>
     107    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    101108
    102 <screen><userinput role='root'><command>make install &amp;&amp;
     109<screen role="root"><userinput>make install &amp;&amp;
    103110mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5* /usr/lib &amp;&amp;
    104111ln -sf /usr/lib/libstdc++.so.5.0.6 /opt/gcc-&gcc3-version;/lib &amp;&amp;
    105112ln -sf libstdc++.so.5.0.6 /opt/gcc-&gcc3-version;/lib/libstdc++.so.5 &amp;&amp;
    106113chown -R root:root \
    107     /opt/gcc-&gcc3-version;/lib/gcc-lib/i686-pc-linux-gnu/&gcc3-version;/include</command></userinput></screen>
     114    /opt/gcc-&gcc3-version;/lib/gcc-lib/i686-pc-linux-gnu/&gcc3-version;/include</userinput></screen>
    108115
    109 </sect2>
     116  </sect2>
    110117
    111 <sect2>
    112 <title>Command explanations</title>
     118  <sect2 role="commands">
     119    <title>Command Explanations</title>
    113120
    114 <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
    115 <application><acronym>GCC</acronym></application> development team recommends
    116 building in a separate directory.</para>
     121    <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
     122    <application>GCC</application> development team recommends
     123    building in a separate directory.</para>
    117124
    118 <para><parameter>--enable-shared --enable-languages=c,c++
    119 --enable-threads=posix</parameter>: Configures
    120 <application><acronym>GCC</acronym></application> to build the
    121 <application>C</application> and <application>C++</application> compilers and
    122 enable the related <application>C++</application> options.</para>
     125    <para><parameter>--enable-shared --enable-languages=c,c++
     126    --enable-threads=posix</parameter>: Configures
     127    <application>GCC</application> to build the
     128    <application>C</application> and <application>C++</application> compilers and
     129    enable the related <application>C++</application> options.</para>
    123130
    124 <para><command>mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5*
    125 /usr/lib</command>: Moves the <application>C++</application> libraries to the
    126 standard lib directory to avoid having to add
    127 <userinput>/opt/gcc-&gcc3-version;/lib</userinput> to
    128 <filename>/etc/ld.so.conf</filename>.</para>
     131    <para><command>mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5*
     132    /usr/lib</command>: Moves the <application>C++</application> libraries to the
     133    standard lib directory to avoid having to add
     134    <userinput>/opt/gcc-&gcc3-version;/lib</userinput> to
     135    <filename>/etc/ld.so.conf</filename>.</para>
    129136
    130 </sect2>
     137  </sect2>
    131138
    132 <sect2>
    133 <title>Configuring <application><acronym>GCC</acronym></application></title>
     139  <sect2 role="configuration">
     140    <title>Configuring GCC-&gcc3-version;</title>
    134141
    135 <sect3><title>Configuration information</title>
     142    <sect3>
     143      <title>Configuration information</title>
    136144
    137 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    138 href="../../lib-config.xml"/>
     145      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
    139146
    140 <para>If you only need the GCC-&gcc3-version; libraries, you may delete
    141 <filename>/opt/gcc-&gcc3-version;</filename>.</para>
     147      <para>If you only need the GCC-&gcc3-version; libraries, you may delete
     148      <filename>/opt/gcc-&gcc3-version;</filename>.</para>
    142149
    143 <para>Whenever you need to use GCC-&gcc3-version; instead of your system
    144 installed compiler, add
    145 <filename class="directory">/opt/gcc-&gcc3-version;/bin</filename> to the
    146 front of your <envar>PATH</envar> or (preferably) set the <envar>CC</envar>
    147 environment variable before compiling the concerned package.</para>
     150      <para>Whenever you need to use GCC-&gcc3-version; instead of your system
     151      installed compiler, add
     152      <filename class="directory">/opt/gcc-&gcc3-version;/bin</filename> to the
     153      front of your <envar>PATH</envar> or (preferably) set the <envar>CC</envar>
     154      environment variable before compiling the concerned package.</para>
    148155
    149 </sect3>
     156    </sect3>
    150157
    151 </sect2>
     158  </sect2>
    152159
    153 <sect2>
    154 <title>Contents</title>
     160  <sect2 role="content">
     161    <title>Contents</title>
    155162
    156 <segmentedlist>
    157 <segtitle>Installed Programs</segtitle>
    158 <segtitle>Installed Libraries</segtitle>
    159 <segtitle>Installed Directories</segtitle>
    160 <seglistitem>
    161 <seg>c++, cpp, g++, gcc, gccbug, gcov and architecture specific names of these
    162 programs.</seg>
    163 <seg>libgcc_s.so, libiberty.a, libstdc++.[a,so], libsupc++.a and other
    164 support libraries and files.</seg>
    165 <seg>/opt/gcc-&gcc3-version;</seg>
    166 </seglistitem>
    167 </segmentedlist>
     163    <segmentedlist>
     164      <segtitle>Installed Programs</segtitle>
     165      <segtitle>Installed Libraries</segtitle>
     166      <segtitle>Installed Directories</segtitle>
    168167
    169 <sect3><title>Short Descriptions</title>
    170 <para>The GCC-&gcc3-version; package contains the
    171 <command>gcc</command>-&gcc3-version; <application>C</application> and
    172 <application>C++</application> compilers and GCC-&gcc3-version;
    173 <filename>libstdc++.so</filename> that is required by some commercial and
    174 pre-compiled packages.</para>
    175 </sect3>
     168      <seglistitem>
     169        <seg>c++, cpp, g++, gcc, gccbug, gcov, and architecture specific
     170        names of these programs.</seg>
     171        <seg>libgcc_s.so, libiberty.a, libstdc++.[a,so], libsupc++.a, and other
     172        support libraries and files.</seg>
     173        <seg>/opt/gcc-&gcc3-version;</seg>
     174      </seglistitem>
     175    </segmentedlist>
    176176
    177 </sect2>
     177    <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     178
     179    <para>The GCC-&gcc3-version; package contains the
     180    <command>gcc</command>-&gcc3-version; <application>C</application> and
     181    <application>C++</application> compilers and GCC-&gcc3-version;
     182    <filename>libstdc++.so</filename> that is required by some commercial and
     183    pre-compiled packages.</para>
     184
     185  </sect2>
    178186
    179187</sect1>
Note: See TracChangeset for help on using the changeset viewer.