mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-31 12:32:13 +08:00
1a9822d34f
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@175 af4574ff-66df-0310-9fd7-8a98e5e911e0
35 lines
1.3 KiB
XML
35 lines
1.3 KiB
XML
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><userinput>export CC=cc :</userinput> This command allows you to
|
|
use gcc's C compiler instead of gnat's C compiler.</para>
|
|
|
|
<para><userinput>export PATH_HOLD=$PATH :</userinput> This command
|
|
stores your current path before it's modified so that it can be restored after
|
|
installation.</para>
|
|
|
|
<para><userinput>export PATH=/usr/src/gnat/bin:$PATH :</userinput> This
|
|
command allows the build to find gnat's Ada compiler to build
|
|
Ada.</para>
|
|
|
|
<para><userinput>--enable-languages=c,c++,objc,f77,ada :</userinput>
|
|
This command builds all available languages in the gcc package except
|
|
java. You can modify this command to remove unwanted languages. If you
|
|
are removing Ada, use the separate installation instructions below.</para>
|
|
|
|
<para><userinput>-- enable shared --enable-threads=posix
|
|
--enable-__cxa_atexit :</userinput> These commands are required to build
|
|
the C++ libraries to published standards.</para>
|
|
|
|
<para><userinput>--with-slibdir=/lib : This command sets the path to
|
|
libgcc_s.so.</userinput></para>
|
|
|
|
<para><userinput>touch treeprs.ads [es]info.h nmake.ad[bs] :</userinput>
|
|
This command creates necessary files for the Ada build.</para>
|
|
|
|
<para><userinput>make gnatlib_and tools :</userinput> This command
|
|
completes the Ada build process.</para>
|
|
|
|
</sect2>
|
|
|