Changeset d8e2e7ce for general


Ignore:
Timestamp:
08/30/2003 10:48:04 PM (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:
1155be78
Parents:
0be83224
Message:

update to gcc-3.3.1 and update intro for tcsh

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

Location:
general/prog/gcc
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gcc/gcc-desc.xml

    r0be83224 rd8e2e7ce  
    22<title>Contents</title>
    33
    4 <para>The gcc package contains <userinput>c++</userinput>,
    5 <userinput>c++filt</userinput>, <userinput>cpp</userinput>,
    6 <userinput>g++</userinput>, <userinput>g77</userinput>,
    7 <userinput>gcc</userinput>, <userinput>gccbug</userinput>,
    8 <userinput>gcov</userinput>, <userinput>glob</userinput>,
    9 <userinput>gnat</userinput>, <userinput>gnatbind</userinput>,
    10 <userinput>gnatbl</userinput>, <userinput>gnatchop</userinput>,
    11 <userinput>gnatfind</userinput>, <userinput>gnatkr</userinput>,
    12 <userinput>gnatlink</userinput>, <userinput>gnatls</userinput>,
    13 <userinput>gnatmake</userinput>, <userinput>gnatprep</userinput>,
    14 <userinput>gnatpsta</userinput>, <userinput>gnatpsys</userinput>,
    15 <userinput>gnatxref</userinput> and <filename>gcc</filename> libraries.</para>
     4<para>The gcc package contains <command>c++</command>,
     5<command>c++filt</command>, <command>cpp</command>,
     6<command>g++</command>, <command>g77</command>,
     7<command>gcc</command>, <command>gccbug</command>,
     8<command>gcov</command>, <command>glob</command>,
     9<command>gnat</command>, <command>gnatbind</command>,
     10<command>gnatbl</command>, <command>gnatchop</command>,
     11<command>gnatfind</command>, <command>gnatkr</command>,
     12<command>gnatlink</command>, <command>gnatls</command>,
     13<command>gnatmake</command>, <command>gnatprep</command>,
     14<command>gnatpsta</command>, <command>gnatpsys</command>,
     15<command>gnatxref</command> and <filename>gcc</filename> libraries.</para>
    1616
    1717</sect2>
     
    2020
    2121<para>The programs and libraries whose descriptions are missing here
    22 have been described in the LFS gcc-&gcc-version; page.</para>
     22have been described in the <acronym>LFS</acronym> gcc-&gcc-version; page.</para>
    2323
    2424<sect3><title>g77</title>
    25 <para>g77 is the Fortran compiler invoked by gcc.</para></sect3>
     25<para><command>g77</command> is the Fortran compiler invoked by gcc.</para></sect3>
    2626
    2727<sect3><title>add2line</title>
    28 <para>add2line converts the ASCII form of the 2-line orbital elements in
     28<para><command>add2line</command> converts the ASCII form of the 2-line orbital elements in
    2929a file to binary form and appends them to the orbdata files. </para></sect3>
    3030
    3131<sect3><title>gcov</title>
    32 <para>gcov is a test coverage program.</para></sect3>
     32<para><command>gcov</command> is a test coverage program.</para></sect3>
    3333
    3434<sect3><title>gdb</title>
    35 <para>gdb is the GNAT debugger.</para></sect3>
     35<para><command>gdb</command> is the GNAT debugger.</para></sect3>
    3636
    3737<sect3><title>gnatbind</title>
    38 <para>gnatbind is used to bind compiled objects.</para></sect3>
     38<para><command>gnatbind</command> is used to bind compiled objects.</para></sect3>
    3939
    4040<sect3><title>gnatbl</title>
    41 <para>gnatbl is the Ada linker. </para></sect3>
     41<para><command>gnatbl</command> is the Ada linker. </para></sect3>
    4242
    4343<sect3><title>gnatchop</title>
    44 <para>gnatchop is useful for renaming files to meet the standard Ada
     44<para><command>gnatchop</command> is useful for renaming files to meet the standard Ada
    4545default file naming conventions.</para></sect3>
    4646
    4747<sect3><title>gnatelim</title>
    48 <para>gnatelim is used to detect and eliminate unused subprograms in an
     48<para><command>gnatelim</command> is used to detect and eliminate unused subprograms in an
    4949Ada partition.</para></sect3>
    5050
    5151<sect3><title>gnatfind</title>
    52 <para>gnatfind is the GNAT definition/use finder.</para></sect3>
     52<para><command>gnatfind</command> is the GNAT definition/use finder.</para></sect3>
    5353
    5454<sect3><title>gnatgcc</title>
    55 <para>gnatgcc is the compiler.</para></sect3>
     55<para><command>gnatgcc</command> is the compiler.</para></sect3>
    5656
    5757<sect3><title>gnathtml.pl</title>
    58 <para>gnathtml.pl converts Ada source files to html for viewing in Web
     58<para><command>gnathtml.pl</command> converts Ada source files to html for viewing in Web
    5959browsers.</para></sect3>
    6060
    6161<sect3><title>gnatkr</title>
    62 <para>gnatkr is used to determine the crunched name for a given file,
     62<para><command>gnatkr</command> is used to determine the crunched name for a given file,
    6363when crunched to a specified maximum length.</para></sect3>
    6464
    6565<sect3><title>gnatlink</title>
    66 <para>gnatlink is used to link programs and build an executable file.</para></sect3>
     66<para><command>gnatlink</command> is used to link programs and build an executable file.</para></sect3>
    6767
    6868<sect3><title>gnatls</title>
    69 <para>gnatls is the compiled unit browser.</para></sect3>
     69<para><command>gnatls</command> is the compiled unit browser.</para></sect3>
    7070
    7171<sect3><title>gnatemake</title>
    72 <para>gnatmake is an automatic make facility.</para></sect3>
     72<para><command>gnatmake</command> is an automatic make facility.</para></sect3>
    7373
    7474<sect3><title>gnatmem</title>
    75 <para>gnatmem is the GNAT utility that monitors dynamic allocation and
     75<para><command>gnatmem</command> is the GNAT utility that monitors dynamic allocation and
    7676deallocation activity in a program.</para></sect3>
    7777
    7878<sect3><title>gnatprep</title>
    79 <para>gnatprep is the GNAT external preprocessor.</para></sect3>
     79<para><command>gnatprep</command> is the GNAT external preprocessor.</para></sect3>
    8080
    8181<sect3><title>gnatpsta</title>
    82 <para>gnatpsta determines the values of all the relevant parameters in
     82<para><command>gnatpsta</command> determines the values of all the relevant parameters in
    8383Standard and outputs to stdout.</para></sect3>
    8484
    8585<sect3><title>gnatpsys</title>
    86 <para>gnatpsys determines the values of all the relevant parameters in
     86<para><command>gnatpsys</command> determines the values of all the relevant parameters in
    8787System and outputs to stdout.</para></sect3>
    8888
    8989<sect3><title>gnatstub</title>
    90 <para>gnatstub is a generator of body stubs.</para></sect3>
     90<para><command>gnatstub</command> is a generator of body stubs.</para></sect3>
    9191
    9292<sect3><title>gnatxref</title>
    93 <para>gnatxref is the GNAT cross-referencer.</para></sect3>
     93<para><command>gnatxref</command> is the GNAT cross-referencer.</para></sect3>
    9494
    9595<sect3><title>gvd</title>
    96 <para>gvd is the GNU Visual Debugger.</para></sect3>
     96<para><command>gvd</command> is the GNU Visual Debugger.</para></sect3>
    9797
    9898</sect2>
  • general/prog/gcc/gcc-exp.xml

    r0be83224 rd8e2e7ce  
    22<title>Command explanations</title>
    33
    4 <para><userinput>PATH_HOLD=$PATH</userinput> : This command
     4<para><command>PATH_HOLD=$PATH</command> : This command
    55stores your current path before it's modified so that it can be restored after
    66installation.</para>
    77
    8 <para><userinput>export PATH=$PATH:/opt/gnat/bin</userinput> : This
     8<para><command>export PATH=/opt/gnat/bin:$PATH</command> : This
    99command allows the build to find gnat's Ada compiler to build
    1010Ada.</para>
    1111
    12 <para><userinput>touch treeprs.ads [es]info.h nmake.ad[bs]</userinput> :
     12<para><command>touch treeprs.ads [es]info.h nmake.ad[bs]</command> :
    1313This command creates necessary files for the Ada build. This step
    1414may be skipped if you don't want to compile the ada frontend.</para>
    1515
    16 <para><userinput>--enable-languages=c,c++,objc,f77,ada,java</userinput>
     16<para><command>CC=/usr/bin/gcc</command> : This command works around the
     17new <envar>PATH</envar> which puts <application>gnat</application>'s
     18<command>gcc</command> as the primary compiler.</para>
     19
     20<para><command>--enable-languages=c,c++,objc,f77,ada,java</command>
    1721: This command builds all available languages in the gcc package.
    1822You may modify this command to remove unwanted languages.</para>
    1923
    20 <para><userinput>--enable-shared --enable-threads=posix
    21 --enable-__cxa_atexit</userinput> : These commands are required to build
     24<para><command>--enable-shared --enable-threads=posix
     25--enable-__cxa_atexit</command> : These commands are required to build
    2226the C++ libraries to published standards.</para>
    2327
    24 <para><userinput>--enable-clocale=gnu</userinput> : This command is a
     28<para><command>--enable-clocale=gnu</command> : This command is a
    2529failsafe for incomplete locale data.</para>
    2630
    27 <para><userinput>make gnatlib_and tools</userinput> : This command
     31<para><command>make gnatlib_and tools</command> : This command
    2832completes the Ada build process. Skip this step if you have not enabled
    2933ADA as one of the languages.</para>
  • general/prog/gcc/gcc-inst.xml

    r0be83224 rd8e2e7ce  
    11<sect2>
    2 <title>Installation of gcc</title>
     2<title>Installation of <application>gcc</application></title>
    33
    4 <para>Install gcc by running the following commands:</para>
     4<para>Patch the source files with the following command:</para>
     5<screen><userinput><command>patch -Np1 -i ../gcc-3.3.1-no_fixincludes-2.patch</command></userinput></screen>
    56
    6 <para><screen><userinput>PATH_HOLD=$PATH &amp;&amp;
    7 export PATH=$PATH:/opt/gnat/bin &amp;&amp;
     7<para>Install <application>gcc</application> by running the following commands:</para>
     8
     9<screen><userinput><command>PATH_HOLD=$PATH &amp;&amp;
     10export PATH=/opt/gnat/bin:$PATH &amp;&amp;
    811cd gcc/ada &amp;&amp;
    912touch treeprs.ads [es]info.h nmake.ad[bs] &amp;&amp;
     
    1114mkdir ../gcc-build &amp;&amp;
    1215cd ../gcc-build &amp;&amp;
    13 ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
     16CC=/usr/bin/gcc ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
    1417--enable-languages=c,c++,objc,f77,ada,java --enable-threads=posix \
    1518--enable-__cxa_atexit --enable-clocale=gnu &amp;&amp;
    1619make bootstrap &amp;&amp;
    1720make -C gcc gnatlib_and_tools &amp;&amp;
    18 make install-no-fixedincludes &amp;&amp;
     21make install &amp;&amp;
    1922ln -sf g77 /usr/bin/f77 &amp;&amp;
    20 export PATH=$PATH_HOLD</userinput></screen></para>
     23export PATH=$PATH_HOLD</command></userinput></screen>
    2124
    22 <para>You may remove the gnat installation:</para>
    23 <para><screen><userinput>rm -rf /opt/gnat</userinput></screen></para>
     25<para>You may remove the <application>gnat</application> installation:</para>
     26<screen><userinput><command>rm -rf /opt/gnat</command></userinput></screen>
    2427
    2528</sect2>
  • general/prog/gcc/gcc-intro.xml

    r0be83224 rd8e2e7ce  
    11<sect2>
    2 <title>Introduction to gcc</title>
    3 
    4 <screen>Download location (HTTP):       <ulink url="&gcc-download-http;"/>
    5 Download location (FTP):        <ulink url="&gcc-download-ftp;"/>
    6 Version used:                   &gcc-version;
    7 Package size:                   &gcc-size;
    8 Estimated Disk space required:  &gcc-buildsize;</screen>
     2<title>Introduction to <application>gcc</application></title>
    93
    104<para>The gcc package contains GNU compilers. This is useful for
    11 compiling programs written in Ada, C, C++, Fortran, Java and Objective C.</para>
     5compiling programs written in Ada, C, C++, Fortran, Java and Objective
     6C.</para>
    127
     8<sect3><title>Package information</title>
     9<itemizedlist spacing='compact'>
     10<listitem><para>Download (HTTP): <ulink
     11url="&gcc-download-http;"/></para></listitem>
     12<listitem><para>Download (FTP): <ulink
     13url="&gcc-download-ftp;"/></para></listitem>
     14<listitem><para>Download size: &gcc-size;</para></listitem>
     15<listitem><para>Estimated Disk space required:
     16&gcc-buildsize;</para></listitem>
     17<listitem><para>Estimated build time:
     18&gcc-time;</para></listitem></itemizedlist>
     19</sect3>
     20<sect3><title>Additional Downloads</title>
     21<itemizedlist spacing='compact'>
     22<listitem><para>Required patch: <ulink url="http://downloads.linuxfromscratch.org/gcc-3.3.1-no_fixincludes-2.patch"/></para></listitem>
     23</itemizedlist></sect3>
    1324
    1425</sect2>
  • general/prog/gcc/gcc.ent

    r0be83224 rd8e2e7ce  
    66<!ENTITY gcc-desc SYSTEM "gcc-desc.xml">
    77<!ENTITY gcc-config SYSTEM "gcc-config.xml">
    8 <!ENTITY gcc-buildsize "591 MB">
    9 <!ENTITY gcc-version "3.2.1">
    10 <!ENTITY gcc-download-http "http://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-3.2.1/gcc-3.2.1.tar.bz2">
    11 <!ENTITY gcc-download-ftp "ftp://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-3.2.1/gcc-3.2.1.tar.bz2">
    12 <!ENTITY gcc-size "20.1 MB">
     8<!ENTITY gcc-buildsize "889 MB">
     9<!ENTITY gcc-version "3.3.1">
     10<!ENTITY gcc-download-http "http://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
     11<!ENTITY gcc-download-ftp "ftp://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
     12<!ENTITY gcc-size "23 MB">
     13<!ENTITY gcc-time "29.3 SBU">
  • general/prog/gcc/gnat-inst.xml

    r0be83224 rd8e2e7ce  
    11<sect2>
    2 <title>Installation of gnat</title>
     2<title>Installation of <application>gnat</application></title>
    33
    4 <para>Install gnat by running the following commands:</para>
     4<para>Install <application>gnat</application> by running the following commands:</para>
    55
    6 <para><screen><userinput>./doconfig</userinput></screen></para>
     6<screen><userinput><command>./doconfig</command></userinput></screen>
    77
    88<para>The above script will ask you how and where you would like to install
    9 gnat. To avoid conflicts with the system gcc, the package will be installed
     9<application>gnat</application>. To avoid conflicts with the system
     10<command>gcc</command>, the package will be installed
    1011in a separate directory, that can later be removed from the system.</para>
    1112
    12 <para>In response to the questions asked by the doconfig script, enter
     13<para>In response to the questions asked by the
     14<command>doconfig</command> script, enter
    1315<userinput>3</userinput> in response to the first question
    1416and <userinput>/opt/gnat</userinput> in response to the
     
    1618
    1719<para>To finish the install, run</para>
    18 <para><screen><userinput>./doinstall</userinput></screen></para>
     20<screen><userinput><command>./doinstall</command></userinput></screen>
    1921
    20 <para>The gnat compiler can be invoked by executing the gcc binary
    21 installed by the above script. To avoid conflicts with the system
    22 gcc, we will rename the gcc command.</para>
    23 <para><screen><userinput>cd /opt/gnat/bin &amp;&amp;
     22<para>The <application>gnat</application> compiler can be invoked by
     23executing the <command>gcc</command> binary
     24installed by the above script. <!-- To avoid conflicts with the system
     25<command>gcc</command>, we will rename the <command>gcc</command>
     26command.--></para>
     27<!-- <screen><userinput><command>cd /opt/gnat/bin &amp;&amp;
    2428mv gcc gnatgcc &amp;&amp;
    2529cd real &amp;&amp;
    26 mv gcc gnatgcc</userinput></screen></para>
     30mv gcc gnatgcc</command></userinput></screen> -->
    2731
    2832</sect2>
  • general/prog/gcc/gnat-intro.xml

    r0be83224 rd8e2e7ce  
    11<sect2>
    2 <title>Introduction to gnat (binary version)</title>
     2<title>Introduction to <application>gnat</application> (binary version)</title>
    33
    4 <screen>Download location (HTTP):       <ulink url="&gnat-download-http;"/>
    5 Download location (FTP):        <ulink url="&gnat-download-ftp;"/>
    6 Version used:                   &gnat-version;
    7 Package size:                   &gnat-size;
    8 Estimated Disk space required:  &gnat-buildsize;</screen>
     4<para>The <application>gnat</application> package contains a precompiled Ada compiler.
     5This package is used to satisfy the circular
     6dependency when you recompile <application>gcc</application> to include ada.</para>
    97
    10 <para>The gnat package contains a precompiled Ada compiler.
    11 This package is used to satisfy the circular
    12 dependency when you recompile gcc to include ada.</para>
    13 
    14 <para>You may skip installation of gnat if you do not want to recompile gcc
     8<para>You may skip installation of <application>gnat</application> if you do not want to recompile
     9gcc
    1510with ada support.</para>
    1611
    17 <screen>gnat depends on:
    18 <xref linkend="tcsh"/></screen>
     12
     13<sect3><title>Package information</title>
     14<itemizedlist spacing='compact'>
     15<listitem><para>Download (HTTP): <ulink
     16url="&gnat-download-http;"/></para></listitem>
     17<listitem><para>Download (FTP): <ulink
     18url="&gnat-download-ftp;"/></para></listitem>
     19<listitem><para>Download size: &gnat-size;</para></listitem>
     20<listitem><para>Estimated Disk space required:
     21&gnat-buildsize;</para></listitem>
     22<listitem><para>Estimated build time:
     23&gnat-time;</para></listitem></itemizedlist>
     24</sect3>
     25
     26
     27
     28<sect3><title><application>gnat</application> dependencies</title>
     29<sect4><title>Required</title>
     30<para><xref linkend="tcsh"/></para></sect4>
     31</sect3>
    1932
    2033</sect2>
  • general/prog/gcc/gnat.ent

    r0be83224 rd8e2e7ce  
    22<!ENTITY gnat-intro SYSTEM "gnat-intro.xml">
    33<!ENTITY gnat-inst SYSTEM "gnat-inst.xml">
    4 <!ENTITY gnat-buildsize "40 MB">
    5 <!ENTITY gnat-version "3.14p">
     4<!ENTITY gnat-buildsize "48.9 MB">
     5<!ENTITY gnat-version "3.15p">
    66<!ENTITY gnat-download-http "">
    7 <!ENTITY gnat-download-ftp "ftp://cs.nyu.edu/pub/gnat/3.14p/gnat-3.14p-i686-pc-linux-gnu-bin.tar.gz">
    8 <!ENTITY gnat-size "10.5 MB">
     7<!ENTITY gnat-download-ftp "ftp://cs.nyu.edu/pub/gnat/3.15p/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.gz">
     8<!ENTITY gnat-size "13.2 MB">
     9<!ENTITY gnat-time "0.01 SBU">
Note: See TracChangeset for help on using the changeset viewer.