mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
5e18c49cdd
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1303 af4574ff-66df-0310-9fd7-8a98e5e911e0
42 lines
1.7 KiB
XML
42 lines
1.7 KiB
XML
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><command>PATH_HOLD=$PATH</command>: This command
|
|
stores your current path before it's modified so that it can be restored after
|
|
installation.</para>
|
|
|
|
<para><command>export PATH=/opt/gnat/bin:$PATH</command>: This
|
|
command allows the build to find
|
|
<application><acronym>GNAT</acronym></application>'s
|
|
<application>Ada</application> compiler to build
|
|
<application>Ada</application>.</para>
|
|
|
|
<para><command>touch treeprs.ads [es]info.h nmake.ad[bs]</command>:
|
|
This command creates necessary files for the
|
|
<application>Ada</application> build. This step
|
|
may be skipped if you don't want to compile the
|
|
<application>Ada</application> front end.</para>
|
|
|
|
<para><parameter>CC=/usr/bin/gcc</parameter>: This command works around the
|
|
new <envar>PATH</envar> which puts <application><acronym>GNAT</acronym>
|
|
</application>'s <command>gcc</command> as the primary compiler.</para>
|
|
|
|
<para><parameter>--enable-languages=c,c++,objc,f77,ada,java</parameter>: This command builds all available languages in the
|
|
<application><acronym>GCC</acronym></application> package.
|
|
You may modify this command to remove unwanted languages.</para>
|
|
|
|
<para><parameter>--enable-shared --enable-threads=posix
|
|
--enable-__cxa_atexit</parameter>: These commands are required to build
|
|
the <application>C++</application> libraries to published standards.</para>
|
|
|
|
<para><parameter>--enable-clocale=gnu</parameter>: This command is a
|
|
failsafe for incomplete locale data.</para>
|
|
|
|
<para><command>make gnatlib_and tools</command>: This command
|
|
completes the <application>Ada</application> build process. Skip this step if
|
|
you have not enabled <application>Ada</application> as one of the languages.
|
|
</para>
|
|
|
|
</sect2>
|
|
|