[1a686a1] | 1 | <sect2>
|
---|
| 2 | <title>Command explanations</title>
|
---|
| 3 |
|
---|
[d8e2e7ce] | 4 | <para><command>PATH_HOLD=$PATH</command> : This command
|
---|
[1a686a1] | 5 | stores your current path before it's modified so that it can be restored after
|
---|
| 6 | installation.</para>
|
---|
| 7 |
|
---|
[d8e2e7ce] | 8 | <para><command>export PATH=/opt/gnat/bin:$PATH</command> : This
|
---|
[58bd309a] | 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>
|
---|
[1a686a1] | 13 |
|
---|
[d8e2e7ce] | 14 | <para><command>touch treeprs.ads [es]info.h nmake.ad[bs]</command> :
|
---|
[58bd309a] | 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>
|
---|
[de102fc8] | 19 |
|
---|
[d8e2e7ce] | 20 | <para><command>CC=/usr/bin/gcc</command> : This command works around the
|
---|
[58bd309a] | 21 | new <envar>PATH</envar> which puts <application><acronym>GNAT</acronym>
|
---|
| 22 | </application>'s <command>gcc</command> as the primary compiler.</para>
|
---|
[d8e2e7ce] | 23 |
|
---|
| 24 | <para><command>--enable-languages=c,c++,objc,f77,ada,java</command>
|
---|
[58bd309a] | 25 | : This command builds all available languages in the
|
---|
| 26 | <application><acronym>GCC</acronym></application> package.
|
---|
[de102fc8] | 27 | You may modify this command to remove unwanted languages.</para>
|
---|
[1a686a1] | 28 |
|
---|
[d8e2e7ce] | 29 | <para><command>--enable-shared --enable-threads=posix
|
---|
| 30 | --enable-__cxa_atexit</command> : These commands are required to build
|
---|
[58bd309a] | 31 | the <application>C++</application> libraries to published standards.</para>
|
---|
[1a686a1] | 32 |
|
---|
[d8e2e7ce] | 33 | <para><command>--enable-clocale=gnu</command> : This command is a
|
---|
[5628618e] | 34 | failsafe for incomplete locale data.</para>
|
---|
[1a686a1] | 35 |
|
---|
[d8e2e7ce] | 36 | <para><command>make gnatlib_and tools</command> : This command
|
---|
[58bd309a] | 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>
|
---|
[1a686a1] | 40 |
|
---|
| 41 | </sect2>
|
---|
| 42 |
|
---|