Changeset 58bd309a for general/prog/gcc
- Timestamp:
- 09/26/2003 03:06:17 AM (21 years ago)
- 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
- Location:
- general/prog/gcc
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/gcc/gcc-desc.xml
r681ad68 r58bd309a 2 2 <title>Contents</title> 3 3 4 <para>The gcc package contains <command>c++</command>, 4 <para>The <application><acronym>GCC</acronym></application> package contains 5 <command>c++</command>, 5 6 <command>c++filt</command>, <command>cpp</command>, 6 7 <command>g++</command>, <command>g77</command>, … … 20 21 21 22 <para>The programs and libraries whose descriptions are missing here 22 have been described in the <acronym>LFS</acronym> gcc-&gcc-version; page.</para> 23 have been described in the <acronym>LFS</acronym> 24 <acronym>GCC</acronym>-&gcc-version; page.</para> 23 25 24 26 <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 28 invoked by <command>gcc</command>.</para></sect3> 26 29 27 30 <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 32 the 2-line orbital elements in a file to binary form and appends them to the 33 orbdata files. </para></sect3> 30 34 31 35 <sect3><title>gcov</title> … … 33 37 34 38 <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> 36 41 37 42 <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> 39 45 40 46 <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> 42 49 43 50 <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 52 standard <application>Ada</application> default file naming conventions.</para> 53 </sect3> 46 54 47 55 <sect3><title>gnatelim</title> 48 <para><command>gnatelim</command> is used to detect and eliminate unused subprograms in an49 Adapartition.</para></sect3>56 <para><command>gnatelim</command> is used to detect and eliminate unused 57 subprograms in an <application>Ada</application> partition.</para></sect3> 50 58 51 59 <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> 53 62 54 63 <sect3><title>gnatgcc</title> … … 56 65 57 66 <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 69 viewing in Web browsers.</para></sect3> 60 70 61 71 <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 73 given file, when crunched to a specified maximum length.</para></sect3> 64 74 65 75 <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 77 executable file.</para></sect3> 67 78 68 79 <sect3><title>gnatls</title> … … 73 84 74 85 <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 76 88 deallocation activity in a program.</para></sect3> 77 89 78 90 <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> 80 94 81 95 <sect3><title>gnatpsta</title> 82 <para><command>gnatpsta</command> determines the values of all the relevant parameters in83 Standard and outputs to stdout.</para></sect3>96 <para><command>gnatpsta</command> determines the values of all the relevant 97 parameters in Standard and outputs to stdout.</para></sect3> 84 98 85 99 <sect3><title>gnatpsys</title> 86 <para><command>gnatpsys</command> determines the values of all the relevant parameters in87 System and outputs to stdout.</para></sect3>100 <para><command>gnatpsys</command> determines the values of all the relevant 101 parameters in System and outputs to stdout.</para></sect3> 88 102 89 103 <sect3><title>gnatstub</title> … … 91 105 92 106 <sect3><title>gnatxref</title> 93 <para><command>gnatxref</command> is the GNATcross-referencer.</para></sect3>107 <para><command>gnatxref</command> is the <application><acronym>GNAT</acronym></application> cross-referencer.</para></sect3> 94 108 95 109 <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> 97 112 98 113 </sect2> -
general/prog/gcc/gcc-exp.xml
r681ad68 r58bd309a 7 7 8 8 <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> 9 command allows the build to find 10 <application><acronym>GNAT</acronym></application>'s 11 <application>Ada</application> compiler to build 12 <application>Ada</application>.</para> 11 13 12 14 <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> 15 This command creates necessary files for the 16 <application>Ada</application> build. This step 17 may be skipped if you don't want to compile the 18 <application>Ada</application> frontend.</para> 15 19 16 20 <para><command>CC=/usr/bin/gcc</command> : This command works around the 17 new <envar>PATH</envar> which puts <application> gnat</application>'s18 < command>gcc</command> as the primary compiler.</para>21 new <envar>PATH</envar> which puts <application><acronym>GNAT</acronym> 22 </application>'s <command>gcc</command> as the primary compiler.</para> 19 23 20 24 <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. 22 27 You may modify this command to remove unwanted languages.</para> 23 28 24 29 <para><command>--enable-shared --enable-threads=posix 25 30 --enable-__cxa_atexit</command> : These commands are required to build 26 the C++libraries to published standards.</para>31 the <application>C++</application> libraries to published standards.</para> 27 32 28 33 <para><command>--enable-clocale=gnu</command> : This command is a … … 30 35 31 36 <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> 37 completes the <application>Ada</application> build process. Skip this step if 38 you have not enabled <application>Ada</application> as one of the languages. 39 </para> 34 40 35 41 </sect2> -
general/prog/gcc/gcc-inst.xml
r681ad68 r58bd309a 1 1 <sect2> 2 <title>Installation of <application> gcc</application></title>2 <title>Installation of <application><acronym>GCC</acronym></application></title> 3 3 4 4 <para>Patch the source files with the following command:</para> 5 5 <screen><userinput><command>patch -Np1 -i ../gcc-3.3.1-no_fixincludes-2.patch</command></userinput></screen> 6 6 7 <para>Install <application>gcc</application> by running the following commands:</para> 7 <para>Install <application><acronym>GCC</acronym></application> by running the 8 following commands:</para> 8 9 9 10 <screen><userinput><command>PATH_HOLD=$PATH && … … 23 24 export PATH=$PATH_HOLD</command></userinput></screen> 24 25 25 <para>You may remove the <application>gnat</application> installation:</para> 26 <para>You may remove the <application><acronym>GNAT</acronym></application> 27 installation:</para> 26 28 <screen><userinput><command>rm -rf /opt/gnat</command></userinput></screen> 27 29 -
general/prog/gcc/gcc-intro.xml
r681ad68 r58bd309a 1 1 <sect2> 2 <title>Introduction to <application> gcc</application></title>2 <title>Introduction to <application><acronym>GCC</acronym></application></title> 3 3 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 5 contains <acronym>GNU</acronym> compilers. This is useful for 6 compiling 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> 7 10 8 11 <sect3><title>Package information</title> -
general/prog/gcc/gnat-inst.xml
r681ad68 r58bd309a 1 1 <sect2> 2 <title>Installation of <application> gnat</application></title>2 <title>Installation of <application><acronym>GNAT</acronym></application></title> 3 3 4 <para>Install <application>gnat</application> by running the following commands:</para> 4 <para>Install <application><acronym>GNAT</acronym></application> by running the 5 following commands:</para> 5 6 6 7 <screen><userinput><command>./doconfig</command></userinput></screen> 7 8 8 9 <para>The above script will ask you how and where you would like to install 9 <application> gnat</application>. To avoid conflicts with the system10 <command>gcc</command>, the package will be installed 11 in a separatedirectory, that can later be removed from the system.</para>10 <application><acronym>GNAT</acronym></application>. To avoid conflicts with the 11 system <command>gcc</command>, the package will be installed in a separate 12 directory, that can later be removed from the system.</para> 12 13 13 14 <para>In response to the questions asked by the … … 20 21 <screen><userinput><command>./doinstall</command></userinput></screen> 21 22 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 && 28 mv gcc gnatgcc && 29 cd real && 30 mv gcc gnatgcc</command></userinput></screen> --> 23 <para>The <application><acronym>GNAT</acronym></application> compiler can be 24 invoked by executing the <command>gcc</command> binary installed by the above 25 script.</para> 31 26 32 27 </sect2> -
general/prog/gcc/gnat-intro.xml
r681ad68 r58bd309a 1 1 <sect2> 2 <title>Introduction to <application>gnat</application> (binary version)</title> 2 <title>Introduction to <application><acronym>GNAT</acronym></application> 3 (binary version)</title> 3 4 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 6 precompiled <application>Ada</application> compiler. This package is used to 7 satisfy the circular dependency when you recompile <application><acronym> 8 GCC</acronym></application> to include <application>Ada</application>.</para> 7 9 8 <para>You may skip installation of <application> gnat</application> if you do not want to recompile9 gcc 10 with adasupport.</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> 11 13 12 14 … … 26 28 27 29 28 <sect3><title><application> gnat</application> dependencies</title>30 <sect3><title><application><acronym>GNAT</acronym></application> dependencies</title> 29 31 <sect4><title>Required</title> 30 32 <para><xref linkend="tcsh"/></para></sect4>
Note:
See TracChangeset
for help on using the changeset viewer.