source: general/prog/gcc/gcc-exp.xml@ 1af021dc

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_1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1af021dc was 5e18c49c, checked in by Larry Lawrence <larry@…>, 21 years ago

compound word edits, a2ps expanded intro

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

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[1a686a1]1<sect2>
2<title>Command explanations</title>
3
[0482b012]4<para><command>PATH_HOLD=$PATH</command>: This command
[1a686a1]5stores your current path before it's modified so that it can be restored after
6installation.</para>
7
[0482b012]8<para><command>export PATH=/opt/gnat/bin:$PATH</command>: This
[58bd309a]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>
[1a686a1]13
[0482b012]14<para><command>touch treeprs.ads [es]info.h nmake.ad[bs]</command>:
[58bd309a]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
[5e18c49c]18<application>Ada</application> front end.</para>
[de102fc8]19
[0482b012]20<para><parameter>CC=/usr/bin/gcc</parameter>: This command works around the
[58bd309a]21new <envar>PATH</envar> which puts <application><acronym>GNAT</acronym>
22</application>'s <command>gcc</command> as the primary compiler.</para>
[d8e2e7ce]23
[0482b012]24<para><parameter>--enable-languages=c,c++,objc,f77,ada,java</parameter>: This command builds all available languages in the
[58bd309a]25<application><acronym>GCC</acronym></application> package.
[de102fc8]26You may modify this command to remove unwanted languages.</para>
[1a686a1]27
[0482b012]28<para><parameter>--enable-shared --enable-threads=posix
29--enable-__cxa_atexit</parameter>: These commands are required to build
[58bd309a]30the <application>C++</application> libraries to published standards.</para>
[1a686a1]31
[0482b012]32<para><parameter>--enable-clocale=gnu</parameter>: This command is a
[5628618e]33failsafe for incomplete locale data.</para>
[1a686a1]34
[0482b012]35<para><command>make gnatlib_and tools</command>: This command
[58bd309a]36completes the <application>Ada</application> build process. Skip this step if
37you have not enabled <application>Ada</application> as one of the languages.
38</para>
[1a686a1]39
40</sect2>
41
Note: See TracBrowser for help on using the repository browser.