Changeset de102fc8 for general/prog/gcc


Ignore:
Timestamp:
04/04/2003 12:07:27 AM (21 years ago)
Author:
Tushar Teredesai <tushar@…>
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, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
ce2adc3
Parents:
c7ab2480
Message:

merged gnat and gcc

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

Location:
general/prog/gcc
Files:
3 added
1 deleted
3 edited

Legend:

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

    rc7ab2480 rde102fc8  
    1919<sect2><title>Description</title>
    2020
    21 <para>These programs and libraries have been documented on the
    22 LFS gcc-&gcc-version; page and at <xref linkend="gnat"/> except
    23 for:</para>
     21<para>The programs and libraries whose descriptions are missing here
     22have been described in the LFS gcc-&gcc-version; page.</para>
    2423
    2524<sect3><title>g77</title>
    2625<para>g77 is the fortran compiler invoked by gcc.</para></sect3>
    2726
     27<sect3><title>add2line</title>
     28<para>add2line converts the ASCII form of the 2-line orbital elements in
     29a file to binary form and appends them to the orbdata files. </para></sect3>
     30
     31<sect3><title>gcov</title>
     32<para>gcov is a test coverage program.</para></sect3>
     33
     34<sect3><title>gdb</title>
     35<para>gdb is the GNAT debugger.</para></sect3>
     36
     37<sect3><title>gnatbind</title>
     38<para>gnatbind is used to bind compiled objects.</para></sect3>
     39
     40<sect3><title>gnatbl</title>
     41<para>gnatbl is the Ada linker. </para></sect3>
     42
     43<sect3><title>gnatchop</title>
     44<para>gnatchop is useful for renaming files to meet the standard Ada
     45default file naming conventions.</para></sect3>
     46
     47<sect3><title>gnatelim</title>
     48<para>gnatelim is used to detect and eliminate unused subprograms in an
     49Ada partition.</para></sect3>
     50
     51<sect3><title>gnatfind</title>
     52<para>gnatfind is the GNAT definition/use finder.</para></sect3>
     53
     54<sect3><title>gnatgcc</title>
     55<para>gnatgcc is the compiler.</para></sect3>
     56
     57<sect3><title>gnathtml.pl</title>
     58<para>gnathtml.pl converts Ada souce files to html for viewing in Web
     59browsers.</para></sect3>
     60
     61<sect3><title>gnatkr</title>
     62<para>gnatkr is used to determine the crunched name for a given file,
     63when crunched to a specified maximum length.</para></sect3>
     64
     65<sect3><title>gnatlink</title>
     66<para>gnatlink is used to link programs and build an executable file.</para></sect3>
     67
     68<sect3><title>gnatls</title>
     69<para>gnatls is the compiled unit browser.</para></sect3>
     70
     71<sect3><title>gnatemake</title>
     72<para>gnatmake ia an automatic make facility.</para></sect3>
     73
     74<sect3><title>gnatmem</title>
     75<para>gnatmem is the GNAT utility that monitors dynamic allocation and
     76deallocation activity in a program.</para></sect3>
     77
     78<sect3><title>gnatprep</title>
     79<para>gnatprep is the GNAT external preprocessor.</para></sect3>
     80
     81<sect3><title>gnatpsta</title>
     82<para>gnatpsta determines the values of all the relevant parameters in
     83Standard and outputs to stdout.</para></sect3>
     84
     85<sect3><title>gnatpsys</title>
     86<para>gnatpsys determines the values of all the relevant parameters in
     87System and outputs to stdout.</para></sect3>
     88
     89<sect3><title>gnatstub</title>
     90<para>gnatstub is a generator of body stubs.</para></sect3>
     91
     92<sect3><title>gnatxref</title>
     93<para>gnatxref is the GNAT cross referencer.</para></sect3>
     94
     95<sect3><title>gvd</title>
     96<para>gvd is the GNU Visual Debugger.</para></sect3>
    2897
    2998</sect2>
  • general/prog/gcc/gcc-exp.xml

    rc7ab2480 rde102fc8  
    22<title>Command explanations</title>
    33
    4 <para><userinput>export CC=cc</userinput> : This command allows you to
    5 use gcc's C compiler instead of gnat's C compiler.</para>
    6 
    7 <para><userinput>export PATH_HOLD=$PATH</userinput> : This command
     4<para><userinput>PATH_HOLD=$PATH</userinput> : This command
    85stores your current path before it's modified so that it can be restored after
    96installation.</para>
    107
    11 <para><userinput>export PATH=/usr/src/gnat/bin:$PATH</userinput> : This
     8<para><userinput>export PATH=$PATH:/opt/gnat/bin</userinput> : This
    129command allows the build to find gnat's Ada compiler to build
    1310Ada.</para>
    1411
     12<para><userinput>touch treeprs.ads [es]info.h nmake.ad[bs]</userinput> :
     13This command creates necessary files for the Ada build. This step
     14may be skipped if you don't want to compile the ada frontend.</para>
     15
    1516<para><userinput>--enable-languages=c,c++,objc,f77,ada,java</userinput>
    16 : This command builds all available languages in the gcc package except
    17 java.  You can modify this command to remove unwanted languages. If you
    18 are removing Ada, use the separate installation instructions below.</para>
     17: This command builds all available languages in the gcc package.
     18You may modify this command to remove unwanted languages.</para>
    1919
    2020<para><userinput>--enable-shared --enable-threads=posix
     
    2222the C++ libraries to published standards.</para>
    2323
    24 <para><userinput>--with-slibdir=/lib</userinput> : This command sets the path to
    25 libgcc_s.so.</para>
    26 
    2724<para><userinput>--enable-clocale=gnu</userinput> : This command is a
    2825failsafe for incomplete localedata.</para>
    2926
    30 <para><userinput>touch treeprs.ads [es]info.h nmake.ad[bs]</userinput> : This command creates necessary files for the Ada build.</para>
    31 
    3227<para><userinput>make gnatlib_and tools</userinput> : This command
    33 completes the Ada build process.</para>
     28completes the Ada build process. Skip this step if you have not enabled
     29ADA as one of the languages.</para>
    3430
    3531</sect2>
  • general/prog/gcc/gcc-inst.xml

    rc7ab2480 rde102fc8  
    44<para>Install gcc by running the following commands:</para>
    55
    6 <para><screen><userinput>export CC=cc &amp;&amp;
    7 unset CFLAGS
    8 unset CXXFLAGS
    9 export PATH_HOLD=$PATH &amp;&amp;
    10 export PATH=/usr/src/gnat/bin:$PATH &amp;&amp;
     6<para><screen><userinput>PATH_HOLD=$PATH &amp;&amp;
     7export PATH=$PATH:/opt/gnat/bin &amp;&amp;
     8cd gcc/ada &amp;&amp;
     9touch treeprs.ads [es]info.h nmake.ad[bs] &amp;&amp;
     10cd ../.. &amp;&amp;
    1111mkdir ../gcc-build &amp;&amp;
    1212cd ../gcc-build &amp;&amp;
    1313../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
    1414--enable-languages=c,c++,objc,f77,ada,java --enable-threads=posix \
    15 --with-slibdir=/lib --enable-__cxa_atexit --enable-clocale=gnu &amp;&amp;
    16 cd ../gcc-&gcc-version;/gcc/ada &amp;&amp;
    17 touch treeprs.ads [es]info.h nmake.ad[bs] &amp;&amp;
    18 cd /usr/src/gcc-build &amp;&amp;
     15--enable-__cxa_atexit --enable-clocale=gnu &amp;&amp;
    1916make bootstrap &amp;&amp;
    20 cd gcc &amp;&amp;
    21 make gnatlib_and_tools &amp;&amp;
    22 cd .. &amp;&amp;
     17make -C gcc gnatlib_and_tools &amp;&amp;
    2318make install-no-fixedincludes &amp;&amp;
    2419export PATH=$PATH_HOLD</userinput></screen></para>
    2520
     21<para>You may remove the gnat installation:</para>
     22<para><screen><userinput>rm -rf /opt/gnat</userinput></screen></para>
     23
    2624</sect2>
    2725
Note: See TracChangeset for help on using the changeset viewer.