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> frontend.</para>
|
---|
19 |
|
---|
20 | <para><command>CC=/usr/bin/gcc</command> : 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><command>--enable-languages=c,c++,objc,f77,ada,java</command>
|
---|
25 | : This command builds all available languages in the
|
---|
26 | <application><acronym>GCC</acronym></application> package.
|
---|
27 | You may modify this command to remove unwanted languages.</para>
|
---|
28 |
|
---|
29 | <para><command>--enable-shared --enable-threads=posix
|
---|
30 | --enable-__cxa_atexit</command> : These commands are required to build
|
---|
31 | the <application>C++</application> libraries to published standards.</para>
|
---|
32 |
|
---|
33 | <para><command>--enable-clocale=gnu</command> : This command is a
|
---|
34 | failsafe for incomplete locale data.</para>
|
---|
35 |
|
---|
36 | <para><command>make gnatlib_and tools</command> : This command
|
---|
37 | completes the <application>Ada</application> build process. Skip this step if
|
---|
38 | you have not enabled <application>Ada</application> as one of the languages.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | </sect2>
|
---|
42 |
|
---|