source: general/prog/gcc/gcc-exp.xml@ 58bd309a

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
Last change on this file since 58bd309a was 58bd309a, checked in by Larry Lawrence <larry@…>, 21 years ago

update gcc intros

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1199 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
[d8e2e7ce]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
[d8e2e7ce]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
[d8e2e7ce]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
18<application>Ada</application> frontend.</para>
[de102fc8]19
[d8e2e7ce]20<para><command>CC=/usr/bin/gcc</command> : 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
24<para><command>--enable-languages=c,c++,objc,f77,ada,java</command>
[58bd309a]25: This command builds all available languages in the
26<application><acronym>GCC</acronym></application> package.
[de102fc8]27You may modify this command to remove unwanted languages.</para>
[1a686a1]28
[d8e2e7ce]29<para><command>--enable-shared --enable-threads=posix
30--enable-__cxa_atexit</command> : These commands are required to build
[58bd309a]31the <application>C++</application> libraries to published standards.</para>
[1a686a1]32
[d8e2e7ce]33<para><command>--enable-clocale=gnu</command> : This command is a
[5628618e]34failsafe for incomplete locale data.</para>
[1a686a1]35
[d8e2e7ce]36<para><command>make gnatlib_and tools</command> : This command
[58bd309a]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>
[1a686a1]40
41</sect2>
42
Note: See TracBrowser for help on using the repository browser.