mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-07 09:37:17 +08:00
d8e2e7ce54
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1005 af4574ff-66df-0310-9fd7-8a98e5e911e0
37 lines
1.4 KiB
XML
37 lines
1.4 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 gnat's Ada compiler to build
|
|
Ada.</para>
|
|
|
|
<para><command>touch treeprs.ads [es]info.h nmake.ad[bs]</command> :
|
|
This command creates necessary files for the Ada build. This step
|
|
may be skipped if you don't want to compile the ada frontend.</para>
|
|
|
|
<para><command>CC=/usr/bin/gcc</command> : This command works around the
|
|
new <envar>PATH</envar> which puts <application>gnat</application>'s
|
|
<command>gcc</command> as the primary compiler.</para>
|
|
|
|
<para><command>--enable-languages=c,c++,objc,f77,ada,java</command>
|
|
: This command builds all available languages in the gcc package.
|
|
You may modify this command to remove unwanted languages.</para>
|
|
|
|
<para><command>--enable-shared --enable-threads=posix
|
|
--enable-__cxa_atexit</command> : These commands are required to build
|
|
the C++ libraries to published standards.</para>
|
|
|
|
<para><command>--enable-clocale=gnu</command> : This command is a
|
|
failsafe for incomplete locale data.</para>
|
|
|
|
<para><command>make gnatlib_and tools</command> : This command
|
|
completes the Ada build process. Skip this step if you have not enabled
|
|
ADA as one of the languages.</para>
|
|
|
|
</sect2>
|
|
|