glfs/general/prog/gcc/gcc-exp.xml

37 lines
1.4 KiB
XML
Raw Normal View History

<sect2>
<title>Command explanations</title>
<para><command>PATH_HOLD=$PATH</command> : This command
stores your current path before it's modified so that it can be restored after
installation.</para>
<para><command>export PATH=/opt/gnat/bin:$PATH</command> : This
command allows the build to find gnat's Ada compiler to build
Ada.</para>
<para><command>touch treeprs.ads [es]info.h nmake.ad[bs]</command> :
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>
<para><command>CC=/usr/bin/gcc</command> : This command works around the
new <envar>PATH</envar> which puts <application>gnat</application>'s
<command>gcc</command> as the primary compiler.</para>
<para><command>--enable-languages=c,c++,objc,f77,ada,java</command>
: This command builds all available languages in the gcc package.
You may modify this command to remove unwanted languages.</para>
<para><command>--enable-shared --enable-threads=posix
--enable-__cxa_atexit</command> : These commands are required to build
the C++ libraries to published standards.</para>
<para><command>--enable-clocale=gnu</command> : This command is a
failsafe for incomplete locale data.</para>
<para><command>make gnatlib_and tools</command> : This command
completes the Ada build process. Skip this step if you have not enabled
ADA as one of the languages.</para>
</sect2>