Changeset 58bd309a for general/prog


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
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gcc.xml

    r681ad68 r58bd309a  
    1 <sect1 id="gcc" xreflabel="gcc-&gcc-version;">
     1<sect1 id="gcc" xreflabel="GCC-&gcc-version;">
    22<?dbhtml filename="gcc.html" dir="general"?>
    3 <title>gcc-&gcc-version;</title>
     3<title>GCC-&gcc-version;</title>
    44
    55&gnat-intro;
  • general/prog/gcc/gcc-desc.xml

    r681ad68 r58bd309a  
    22<title>Contents</title>
    33
    4 <para>The gcc package contains <command>c++</command>,
     4<para>The <application><acronym>GCC</acronym></application> package contains
     5<command>c++</command>,
    56<command>c++filt</command>, <command>cpp</command>,
    67<command>g++</command>, <command>g77</command>,
     
    2021
    2122<para>The programs and libraries whose descriptions are missing here
    22 have been described in the <acronym>LFS</acronym> gcc-&gcc-version; page.</para>
     23have been described in the <acronym>LFS</acronym>
     24<acronym>GCC</acronym>-&gcc-version; page.</para>
    2325
    2426<sect3><title>g77</title>
    25 <para><command>g77</command> is the Fortran compiler invoked by gcc.</para></sect3>
     27<para><command>g77</command> is the <application>Fortran</application> compiler
     28invoked by <command>gcc</command>.</para></sect3>
    2629
    2730<sect3><title>add2line</title>
    28 <para><command>add2line</command> converts the ASCII form of the 2-line orbital elements in
    29 a file to binary form and appends them to the orbdata files. </para></sect3>
     31<para><command>add2line</command> converts the <acronym>ASCII</acronym> form of
     32the 2-line orbital elements in a file to binary form and appends them to the
     33orbdata files. </para></sect3>
    3034
    3135<sect3><title>gcov</title>
     
    3337
    3438<sect3><title>gdb</title>
    35 <para><command>gdb</command> is the GNAT debugger.</para></sect3>
     39<para><command>gdb</command> is the
     40<application><acronym>GNAT</acronym></application> debugger.</para></sect3>
    3641
    3742<sect3><title>gnatbind</title>
    38 <para><command>gnatbind</command> is used to bind compiled objects.</para></sect3>
     43<para><command>gnatbind</command> is used to bind compiled objects.</para>
     44</sect3>
    3945
    4046<sect3><title>gnatbl</title>
    41 <para><command>gnatbl</command> is the Ada linker. </para></sect3>
     47<para><command>gnatbl</command> is the <application>Ada</application> linker.
     48</para></sect3>
    4249
    4350<sect3><title>gnatchop</title>
    44 <para><command>gnatchop</command> is useful for renaming files to meet the standard Ada
    45 default file naming conventions.</para></sect3>
     51<para><command>gnatchop</command> is useful for renaming files to meet the
     52standard <application>Ada</application> default file naming conventions.</para>
     53</sect3>
    4654
    4755<sect3><title>gnatelim</title>
    48 <para><command>gnatelim</command> is used to detect and eliminate unused subprograms in an
    49 Ada partition.</para></sect3>
     56<para><command>gnatelim</command> is used to detect and eliminate unused
     57subprograms in an <application>Ada</application> partition.</para></sect3>
    5058
    5159<sect3><title>gnatfind</title>
    52 <para><command>gnatfind</command> is the GNAT definition/use finder.</para></sect3>
     60<para><command>gnatfind</command> is the <application><acronym>GNAT</acronym>
     61</application> definition/use finder.</para></sect3>
    5362
    5463<sect3><title>gnatgcc</title>
     
    5665
    5766<sect3><title>gnathtml.pl</title>
    58 <para><command>gnathtml.pl</command> converts Ada source files to html for viewing in Web
    59 browsers.</para></sect3>
     67<para><command>gnathtml.pl</command> converts
     68<application>Ada</application> source files to <acronym>HTML</acronym> for
     69viewing in Web browsers.</para></sect3>
    6070
    6171<sect3><title>gnatkr</title>
    62 <para><command>gnatkr</command> is used to determine the crunched name for a given file,
    63 when crunched to a specified maximum length.</para></sect3>
     72<para><command>gnatkr</command> is used to determine the crunched name for a
     73given file, when crunched to a specified maximum length.</para></sect3>
    6474
    6575<sect3><title>gnatlink</title>
    66 <para><command>gnatlink</command> is used to link programs and build an executable file.</para></sect3>
     76<para><command>gnatlink</command> is used to link programs and build an
     77executable file.</para></sect3>
    6778
    6879<sect3><title>gnatls</title>
     
    7384
    7485<sect3><title>gnatmem</title>
    75 <para><command>gnatmem</command> is the GNAT utility that monitors dynamic allocation and
     86<para><command>gnatmem</command> is the <application><acronym>GNAT</acronym>
     87</application> utility that monitors dynamic allocation and
    7688deallocation activity in a program.</para></sect3>
    7789
    7890<sect3><title>gnatprep</title>
    79 <para><command>gnatprep</command> is the GNAT external preprocessor.</para></sect3>
     91<para><command>gnatprep</command> is the
     92<application><acronym>GNAT</acronym></application> external preprocessor.</para>
     93</sect3>
    8094
    8195<sect3><title>gnatpsta</title>
    82 <para><command>gnatpsta</command> determines the values of all the relevant parameters in
    83 Standard and outputs to stdout.</para></sect3>
     96<para><command>gnatpsta</command> determines the values of all the relevant
     97parameters in Standard and outputs to stdout.</para></sect3>
    8498
    8599<sect3><title>gnatpsys</title>
    86 <para><command>gnatpsys</command> determines the values of all the relevant parameters in
    87 System and outputs to stdout.</para></sect3>
     100<para><command>gnatpsys</command> determines the values of all the relevant
     101parameters in System and outputs to stdout.</para></sect3>
    88102
    89103<sect3><title>gnatstub</title>
     
    91105
    92106<sect3><title>gnatxref</title>
    93 <para><command>gnatxref</command> is the GNAT cross-referencer.</para></sect3>
     107<para><command>gnatxref</command> is the <application><acronym>GNAT</acronym></application> cross-referencer.</para></sect3>
    94108
    95109<sect3><title>gvd</title>
    96 <para><command>gvd</command> is the GNU Visual Debugger.</para></sect3>
     110<para><command>gvd</command> is the <acronym>GNU</acronym> Visual Debugger.
     111</para></sect3>
    97112
    98113</sect2>
  • general/prog/gcc/gcc-exp.xml

    r681ad68 r58bd309a  
    77
    88<para><command>export PATH=/opt/gnat/bin:$PATH</command> : This
    9 command allows the build to find gnat's Ada compiler to build
    10 Ada.</para>
     9command allows the build to find
     10<application><acronym>GNAT</acronym></application>'s
     11<application>Ada</application> compiler to build
     12<application>Ada</application>.</para>
    1113
    1214<para><command>touch treeprs.ads [es]info.h nmake.ad[bs]</command> :
    13 This command creates necessary files for the Ada build. This step
    14 may be skipped if you don't want to compile the ada frontend.</para>
     15This command creates necessary files for the
     16<application>Ada</application> build. This step
     17may be skipped if you don't want to compile the
     18<application>Ada</application> frontend.</para>
    1519
    1620<para><command>CC=/usr/bin/gcc</command> : This command works around the
    17 new <envar>PATH</envar> which puts <application>gnat</application>'s
    18 <command>gcc</command> as the primary compiler.</para>
     21new <envar>PATH</envar> which puts <application><acronym>GNAT</acronym>
     22</application>'s <command>gcc</command> as the primary compiler.</para>
    1923
    2024<para><command>--enable-languages=c,c++,objc,f77,ada,java</command>
    21 : This command builds all available languages in the gcc package.
     25: This command builds all available languages in the
     26<application><acronym>GCC</acronym></application> package.
    2227You may modify this command to remove unwanted languages.</para>
    2328
    2429<para><command>--enable-shared --enable-threads=posix
    2530--enable-__cxa_atexit</command> : These commands are required to build
    26 the C++ libraries to published standards.</para>
     31the <application>C++</application> libraries to published standards.</para>
    2732
    2833<para><command>--enable-clocale=gnu</command> : This command is a
     
    3035
    3136<para><command>make gnatlib_and tools</command> : This command
    32 completes the Ada build process. Skip this step if you have not enabled
    33 ADA as one of the languages.</para>
     37completes the <application>Ada</application> build process. Skip this step if
     38you have not enabled <application>Ada</application> as one of the languages.
     39</para>
    3440
    3541</sect2>
  • general/prog/gcc/gcc-inst.xml

    r681ad68 r58bd309a  
    11<sect2>
    2 <title>Installation of <application>gcc</application></title>
     2<title>Installation of <application><acronym>GCC</acronym></application></title>
    33
    44<para>Patch the source files with the following command:</para>
    55<screen><userinput><command>patch -Np1 -i ../gcc-3.3.1-no_fixincludes-2.patch</command></userinput></screen>
    66
    7 <para>Install <application>gcc</application> by running the following commands:</para>
     7<para>Install <application><acronym>GCC</acronym></application> by running the
     8following commands:</para>
    89
    910<screen><userinput><command>PATH_HOLD=$PATH &amp;&amp;
     
    2324export PATH=$PATH_HOLD</command></userinput></screen>
    2425
    25 <para>You may remove the <application>gnat</application> installation:</para>
     26<para>You may remove the <application><acronym>GNAT</acronym></application>
     27installation:</para>
    2628<screen><userinput><command>rm -rf /opt/gnat</command></userinput></screen>
    2729
  • general/prog/gcc/gcc-intro.xml

    r681ad68 r58bd309a  
    11<sect2>
    2 <title>Introduction to <application>gcc</application></title>
     2<title>Introduction to <application><acronym>GCC</acronym></application></title>
    33
    4 <para>The gcc package contains GNU compilers. This is useful for
    5 compiling programs written in Ada, C, C++, Fortran, Java and Objective
    6 C.</para>
     4<para>The  <application><acronym>GCC</acronym></application> package
     5contains <acronym>GNU</acronym> compilers. This is useful for
     6compiling programs written in <application>Ada</application>,
     7<application>C</application>, <application>C++</application>,
     8<application>Fortran</application>, <application>Java</application> and
     9<application>Objective C</application>.</para>
    710
    811<sect3><title>Package information</title>
  • general/prog/gcc/gnat-inst.xml

    r681ad68 r58bd309a  
    11<sect2>
    2 <title>Installation of <application>gnat</application></title>
     2<title>Installation of <application><acronym>GNAT</acronym></application></title>
    33
    4 <para>Install <application>gnat</application> by running the following commands:</para>
     4<para>Install <application><acronym>GNAT</acronym></application> by running the
     5following commands:</para>
    56
    67<screen><userinput><command>./doconfig</command></userinput></screen>
    78
    89<para>The above script will ask you how and where you would like to install
    9 <application>gnat</application>. To avoid conflicts with the system
    10 <command>gcc</command>, the package will be installed
    11 in a separate directory, that can later be removed from the system.</para>
     10<application><acronym>GNAT</acronym></application>. To avoid conflicts with the
     11system <command>gcc</command>, the package will be installed in a separate
     12directory, that can later be removed from the system.</para>
    1213
    1314<para>In response to the questions asked by the
     
    2021<screen><userinput><command>./doinstall</command></userinput></screen>
    2122
    22 <para>The <application>gnat</application> compiler can be invoked by
    23 executing the <command>gcc</command> binary
    24 installed by the above script. <!-- To avoid conflicts with the system
    25 <command>gcc</command>, we will rename the <command>gcc</command>
    26 command.--></para>
    27 <!-- <screen><userinput><command>cd /opt/gnat/bin &amp;&amp;
    28 mv gcc gnatgcc &amp;&amp;
    29 cd real &amp;&amp;
    30 mv gcc gnatgcc</command></userinput></screen> -->
     23<para>The <application><acronym>GNAT</acronym></application> compiler can be
     24invoked by executing the <command>gcc</command> binary installed by the above
     25script.</para>
    3126
    3227</sect2>
  • general/prog/gcc/gnat-intro.xml

    r681ad68 r58bd309a  
    11<sect2>
    2 <title>Introduction to <application>gnat</application> (binary version)</title>
     2<title>Introduction to <application><acronym>GNAT</acronym></application>
     3(binary version)</title>
    34
    4 <para>The <application>gnat</application> package contains a precompiled Ada compiler.
    5 This package is used to satisfy the circular
    6 dependency when you recompile <application>gcc</application> to include ada.</para>
     5<para>The <application><acronym>GNAT</acronym></application> package contains a
     6precompiled <application>Ada</application> compiler. This package is used to
     7satisfy the circular dependency when you recompile <application><acronym>
     8GCC</acronym></application> to include <application>Ada</application>.</para>
    79
    8 <para>You may skip installation of <application>gnat</application> if you do not want to recompile
    9 gcc
    10 with ada support.</para>
     10<para>You may skip installation of <application><acronym>GNAT</acronym>
     11</application> if you do not want to recompile <application><acronym>GCC
     12</acronym></application> with <application>Ada</application> support.</para>
    1113
    1214
     
    2628
    2729
    28 <sect3><title><application>gnat</application> dependencies</title>
     30<sect3><title><application><acronym>GNAT</acronym></application> dependencies</title>
    2931<sect4><title>Required</title>
    3032<para><xref linkend="tcsh"/></para></sect4>
  • general/prog/gcc2.xml

    r681ad68 r58bd309a  
    1 <sect1 id="gcc2" xreflabel="gcc-&gcc2-version;">
     1<sect1 id="gcc2" xreflabel="GCC-&gcc2-version;">
    22<?dbhtml filename="gcc2.html" dir="general"?>
    3 <title>gcc-&gcc2-version;</title>
     3<title>GCC-&gcc2-version;</title>
    44
    55&gcc2-intro;
  • 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.