2002-08-16 23:43:44 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
2003-10-03 06:40:45 +08:00
|
|
|
<para><command>PATH_HOLD=$PATH</command>: This command
|
2002-08-16 23:43:44 +08:00
|
|
|
stores your current path before it's modified so that it can be restored after
|
|
|
|
installation.</para>
|
|
|
|
|
2003-10-03 06:40:45 +08:00
|
|
|
<para><command>export PATH=/opt/gnat/bin:$PATH</command>: This
|
2003-09-26 11:06:17 +08:00
|
|
|
command allows the build to find
|
|
|
|
<application><acronym>GNAT</acronym></application>'s
|
|
|
|
<application>Ada</application> compiler to build
|
|
|
|
<application>Ada</application>.</para>
|
2002-08-16 23:43:44 +08:00
|
|
|
|
2003-10-03 06:40:45 +08:00
|
|
|
<para><command>touch treeprs.ads [es]info.h nmake.ad[bs]</command>:
|
2003-09-26 11:06:17 +08:00
|
|
|
This command creates necessary files for the
|
|
|
|
<application>Ada</application> build. This step
|
|
|
|
may be skipped if you don't want to compile the
|
2003-10-04 22:23:39 +08:00
|
|
|
<application>Ada</application> front end.</para>
|
2003-04-04 08:07:27 +08:00
|
|
|
|
2003-10-03 06:40:45 +08:00
|
|
|
<para><parameter>CC=/usr/bin/gcc</parameter>: This command works around the
|
2003-09-26 11:06:17 +08:00
|
|
|
new <envar>PATH</envar> which puts <application><acronym>GNAT</acronym>
|
|
|
|
</application>'s <command>gcc</command> as the primary compiler.</para>
|
2003-08-31 06:48:04 +08:00
|
|
|
|
2003-10-03 06:40:45 +08:00
|
|
|
<para><parameter>--enable-languages=c,c++,objc,f77,ada,java</parameter>: This command builds all available languages in the
|
2003-09-26 11:06:17 +08:00
|
|
|
<application><acronym>GCC</acronym></application> package.
|
2003-04-04 08:07:27 +08:00
|
|
|
You may modify this command to remove unwanted languages.</para>
|
2002-08-16 23:43:44 +08:00
|
|
|
|
2003-10-03 06:40:45 +08:00
|
|
|
<para><parameter>--enable-shared --enable-threads=posix
|
|
|
|
--enable-__cxa_atexit</parameter>: These commands are required to build
|
2003-09-26 11:06:17 +08:00
|
|
|
the <application>C++</application> libraries to published standards.</para>
|
2002-08-16 23:43:44 +08:00
|
|
|
|
2003-10-03 06:40:45 +08:00
|
|
|
<para><parameter>--enable-clocale=gnu</parameter>: This command is a
|
2003-04-08 05:14:53 +08:00
|
|
|
failsafe for incomplete locale data.</para>
|
2002-08-16 23:43:44 +08:00
|
|
|
|
2003-10-03 06:40:45 +08:00
|
|
|
<para><command>make gnatlib_and tools</command>: This command
|
2003-09-26 11:06:17 +08:00
|
|
|
completes the <application>Ada</application> build process. Skip this step if
|
|
|
|
you have not enabled <application>Ada</application> as one of the languages.
|
|
|
|
</para>
|
2002-08-16 23:43:44 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|