2002-08-16 23:43:44 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
2003-04-04 08:07:27 +08:00
|
|
|
<para><userinput>PATH_HOLD=$PATH</userinput> : 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-04-04 08:07:27 +08:00
|
|
|
<para><userinput>export PATH=$PATH:/opt/gnat/bin</userinput> : This
|
2002-08-16 23:43:44 +08:00
|
|
|
command allows the build to find gnat's Ada compiler to build
|
|
|
|
Ada.</para>
|
|
|
|
|
2003-04-04 08:07:27 +08:00
|
|
|
<para><userinput>touch treeprs.ads [es]info.h nmake.ad[bs]</userinput> :
|
|
|
|
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>
|
|
|
|
|
2002-12-20 06:18:08 +08:00
|
|
|
<para><userinput>--enable-languages=c,c++,objc,f77,ada,java</userinput>
|
2003-04-04 08:07:27 +08:00
|
|
|
: This command builds all available languages in the gcc package.
|
|
|
|
You may modify this command to remove unwanted languages.</para>
|
2002-08-16 23:43:44 +08:00
|
|
|
|
2003-02-01 09:04:55 +08:00
|
|
|
<para><userinput>--enable-shared --enable-threads=posix
|
2002-12-20 06:18:08 +08:00
|
|
|
--enable-__cxa_atexit</userinput> : These commands are required to build
|
2002-08-16 23:43:44 +08:00
|
|
|
the C++ libraries to published standards.</para>
|
|
|
|
|
2002-12-20 06:18:08 +08:00
|
|
|
<para><userinput>--enable-clocale=gnu</userinput> : 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
|
|
|
|
2002-12-20 06:18:08 +08:00
|
|
|
<para><userinput>make gnatlib_and tools</userinput> : This command
|
2003-04-04 08:07:27 +08:00
|
|
|
completes the Ada build process. Skip this step if you have not enabled
|
|
|
|
ADA as one of the languages.</para>
|
2002-08-16 23:43:44 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|