1 | <sect2>
|
---|
2 | <title>Command explanations</title>
|
---|
3 |
|
---|
4 | <para><command>PATH_HOLD=$PATH</command>: This command
|
---|
5 | stores your current path before it's modified so that it can be restored after
|
---|
6 | installation.</para>
|
---|
7 |
|
---|
8 | <para><command>export PATH=/opt/gnat/bin:$PATH</command>: This
|
---|
9 | command allows the build to find
|
---|
10 | <application><acronym>GNAT</acronym></application>'s
|
---|
11 | <application>Ada</application> compiler to build
|
---|
12 | <application>Ada</application>.</para>
|
---|
13 |
|
---|
14 | <para><command>touch treeprs.ads [es]info.h nmake.ad[bs]</command>:
|
---|
15 | This command creates necessary files for the
|
---|
16 | <application>Ada</application> build. This step
|
---|
17 | may be skipped if you don't want to compile the
|
---|
18 | <application>Ada</application> front end.</para>
|
---|
19 |
|
---|
20 | <para><parameter>CC=/usr/bin/gcc</parameter>: This command works around the
|
---|
21 | new <envar>PATH</envar> which puts <application><acronym>GNAT</acronym>
|
---|
22 | </application>'s <command>gcc</command> as the primary compiler.</para>
|
---|
23 |
|
---|
24 | <para><parameter>--enable-languages=c,c++,objc,f77,ada,java</parameter>: This command builds all available languages in the
|
---|
25 | <application><acronym>GCC</acronym></application> package.
|
---|
26 | You may modify this command to remove unwanted languages.</para>
|
---|
27 |
|
---|
28 | <para><parameter>--enable-shared --enable-threads=posix
|
---|
29 | --enable-__cxa_atexit</parameter>: These commands are required to build
|
---|
30 | the <application>C++</application> libraries to published standards.</para>
|
---|
31 |
|
---|
32 | <para><parameter>--enable-clocale=gnu</parameter>: This command is a
|
---|
33 | failsafe for incomplete locale data.</para>
|
---|
34 |
|
---|
35 | <para><command>make gnatlib_and tools</command>: This command
|
---|
36 | completes the <application>Ada</application> build process. Skip this step if
|
---|
37 | you have not enabled <application>Ada</application> as one of the languages.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | </sect2>
|
---|
41 |
|
---|