Changeset 58bd309a for general/prog/gcc2


Ignore:
Timestamp:
09/26/2003 03:06:17 AM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
78ccf136
Parents:
681ad68
Message:

update gcc intros

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

Location:
general/prog/gcc2
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gcc2/gcc2-config.xml

    r681ad68 r58bd309a  
    11<sect2>
    2 <title>Configuring gcc</title>
     2<title>Configuring <application><acronym>GCC</acronym></application></title>
    33
    44<sect3><title>Configuration Information</title>
     
    77
    88<para>The instructions given above make compatibility symlinks that pre-compiled
    9 packages in BLFS require. You may create additional compatibility links based on
    10 your requirements.</para>
     9packages in <acronym>BLFS</acronym> require. You may create additional
     10compatibility links based on your requirements.</para>
    1111
    12 <para>If you only need the gcc-&gcc2-version; libraries, you may delete
     12<para>If you only need the GCC-&gcc2-version; libraries, you may delete
    1313<filename>/opt/gcc-&gcc2-version;</filename>.</para>
    1414
    15 <para>Whenever you need to use gcc-&gcc2-version; instead of you system installed compiler,
    16 add <filename class="directory">/opt/gcc-&gcc2-version;/bin</filename> to the front of your
    17 <envar>PATH</envar> or (preferably) set the <envar>CC</envar> environment variable before compiling the concerned
    18 package.</para>
     15<para>Whenever you need to use GCC-&gcc2-version; instead of you system
     16installed compiler, add
     17<filename class="directory">/opt/gcc-&gcc2-version;/bin</filename> to the front of your <envar>PATH</envar> or (preferably) set the <envar>CC</envar>
     18environment variable before compiling the concerned package.</para>
    1919
    2020</sect3>
  • general/prog/gcc2/gcc2-desc.xml

    r681ad68 r58bd309a  
    22<title>Contents</title>
    33
    4 <para>The gcc-&gcc2-version; package contains the
    5 <userinput>gcc-&gcc2-version; C and C++ compilers</userinput>
    6 and <userinput>gcc-&gcc2-version;
    7 libstdc++.so</userinput> that is required by some commercial and pre-compiled
    8 packages.</para>
     4<para>The GCC-&gcc2-version; package contains the
     5<command>gcc</command>-&gcc2-version; <application>C</application> and
     6<application>C++</application> compilers and GCC-&gcc2-version;
     7<filename>libstdc++.so</filename> that is required by some commercial and
     8pre-compiled packages.</para>
    99
    1010</sect2>
  • general/prog/gcc2/gcc2-inst.xml

    r681ad68 r58bd309a  
    11<sect2>
    2 <title>Installation of gcc</title>
     2<title>Installation of <application><acronym>GCC</acronym></application></title>
    33
    44<para>Apply the patches:</para>
    55
    6 <para><screen><userinput>patch -Np1 -i ../gcc-&gcc2-version;-2.patch &amp;&amp;
     6<screen><userinput><command>patch -Np1 -i ../gcc-&gcc2-version;-2.patch &amp;&amp;
    77patch -Np1 -i ../gcc-&gcc2-version;-no-fixinc.patch &amp;&amp;
    8 patch -Np1 -i ../gcc-&gcc2-version;-returntype-fix.patch</userinput></screen></para>
     8patch -Np1 -i ../gcc-&gcc2-version;-returntype-fix.patch</command></userinput></screen>
    99
    10 <para>The gcc development team recommends building in a separate directory.</para>
     10<para>The <acronym>GCC</acronym> development team recommends building in a
     11separate directory.</para>
    1112
    12 <para><screen><userinput>mkdir ../gcc-build &amp;&amp;
    13 cd ../gcc-build</userinput></screen></para>
     13<screen><userinput><command>mkdir ../gcc-build &amp;&amp;
     14cd ../gcc-build</command></userinput></screen>
    1415
    15 <para>Configure gcc to build the C and C++ compilers and enable the related C++
    16 options.</para>
    17 <para><screen><userinput>../gcc-&gcc2-version;/configure \
     16<para>Configure <acronym>GCC</acronym> to build the
     17<application>C</application> and <application>C++</application> compilers and
     18enable the related <application>C++</application> options.</para>
     19<screen><userinput><command>../gcc-&gcc2-version;/configure \
    1820--prefix=/opt/gcc-&gcc2-version; \
    1921--enable-shared --enable-languages=c,c++ \
    20 --enable-threads=posix</userinput></screen></para>
     22--enable-threads=posix</command></userinput></screen>
    2123
    22 <para>Compile and install gcc:</para>
    23 <para><screen><userinput>make bootstrap &amp;&amp;
    24 make install</userinput></screen></para>
     24<para>Compile and install <acronym>GCC</acronym>:</para>
     25<screen><userinput><command>make bootstrap &amp;&amp;
     26make install</command></userinput></screen>
    2527
    2628<para>Make note of the library that is installed.</para>
    27 <para><screen><userinput>L=`find /opt/gcc-&gcc2-version;/lib -name "*libstdc++*.so" -type f` &amp;&amp;
    28 IL=`basename $L`</userinput></screen></para>
     29<screen><userinput><command>L=`find /opt/gcc-&gcc2-version;/lib -name "*libstdc++*.so" -type f` &amp;&amp;
     30IL=`basename $L`</command></userinput></screen>
    2931
    30 <para>Move the C++ libraries to the standard lib directory to avoid having to
    31 add <filename>/opt/gcc-&gcc2-version;/lib</filename> to
    32 <filename>/etc/ld.so.conf</filename>.</para>
     32<para>Move the <application>C++</application> libraries to the standard lib
     33directory to avoid having to add <filename>/opt/gcc-&gcc2-version;/lib
     34</filename> to <filename>/etc/ld.so.conf</filename>.</para>
    3335
    34 <para><screen><userinput>for i in /opt/gcc-&gcc2-version;/lib/*.so*; do mv -f $i /usr/lib;
    35 ln -sf /usr/lib/`basename $i` /opt/gcc-&gcc2-version;/lib; done</userinput></screen></para>
     36<screen><userinput><command>for i in /opt/gcc-&gcc2-version;/lib/*.so*; do mv -f $i /usr/lib;
     37ln -sf /usr/lib/`basename $i` /opt/gcc-&gcc2-version;/lib; done</command></userinput></screen>
    3638
    3739<para>Create symlinks required by commercial and precompiled packages.</para>
    38 <para><screen><userinput>ln -sf $IL /usr/lib/libstdc++-libc6.1-1.so.2 &amp;&amp;
     40<screen><userinput><command>ln -sf $IL /usr/lib/libstdc++-libc6.1-1.so.2 &amp;&amp;
    3941ln -sf $IL /usr/lib/libstdc++-libc6.2-2.so.3 &amp;&amp;
    40 ln -sf $IL /usr/lib/libstdc++-libc6.3-2.so.3</userinput></screen></para>
     42ln -sf $IL /usr/lib/libstdc++-libc6.3-2.so.3</command></userinput></screen>
    4143
    4244</sect2>
  • general/prog/gcc2/gcc2-intro.xml

    r681ad68 r58bd309a  
    11<sect2>
    2 <title>Introduction to gcc-&gcc2-version;</title>
     2<title>Introduction to <application><acronym>GCC</acronym></application>-&gcc2-version;</title>
    33
    4 <screen>Download location (FTP):       <ulink url="&gcc2-download-ftp;"/>
    5 Version used:                  &gcc2-version;
    6 Package size:                  &gcc2-size;
    7 Estimated Disk space required: &gcc2-buildsize;</screen>
    84
    9 <para>There are two reasons for installing gcc-&gcc2-version;. The first is that the kernel
    10 developers have certified gcc-&gcc2-version; as the preferred compiler for compiling the
    11 kernel. The other (and more compelling reason) is that some
    12 commercial closed-source packages (such as Netscape Navigator, Yahoo Pager)
    13 and precompiled packages (such as Mozilla)
    14 are linked against gcc-&gcc2-version; libs.</para>
     5<para>There are two reasons for installing
     6<acronym>GCC</acronym>-&gcc2-version;. The first is that the kernel
     7developers have certified <acronym>GCC</acronym>-&gcc2-version; as the
     8preferred compiler for compiling the kernel. The other (and more compelling
     9reason) is that some commercial closed-source packages (such as Netscape
     10Navigator, Yahoo Pager) and precompiled packages (such as Mozilla)
     11are linked against <acronym>GCC</acronym>-&gcc2-version; libs.</para>
    1512
    16 <para>Download the gcc patches from <ulink url="&hfile-root;"/>.
    17 </para>
     13<sect3><title>Package information</title>
     14<itemizedlist spacing='compact'>
     15<listitem><para>Download (HTTP): <ulink
     16url="&gcc2-download-http;"/></para></listitem>
     17<listitem><para>Download (FTP): <ulink
     18url="&gcc2-download-ftp;"/></para></listitem>
     19<listitem><para>Download size: &gcc2-size;</para></listitem>
     20<listitem><para>Estimated Disk space required:
     21&gcc2-buildsize;</para></listitem>
     22<listitem><para>Estimated build time:
     23&gcc2-time;</para></listitem></itemizedlist>
     24</sect3>
     25
     26<sect3><title>Additional downloads</title>
     27<itemizedlist spacing='compact'>
     28<listitem><para>Required patches:
     29<ulink url="&hfile-root;"/></para></listitem></itemizedlist>
     30</sect3>
     31
    1832
    1933</sect2>
  • general/prog/gcc2/gcc2.ent

    r681ad68 r58bd309a  
    99<!ENTITY gcc2-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc2-version;.tar.gz">
    1010<!ENTITY gcc2-size "7 MB">
     11<!ENTITY gcc2-time "">
Note: See TracChangeset for help on using the changeset viewer.