glfs/general/prog/gcc/gnat-inst.xml
Tushar Teredesai f1a0956011 gcc - fortran compatibility link, typos
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@805 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-04-04 03:02:33 +00:00

30 lines
1.0 KiB
XML

<sect2>
<title>Installation of gnat</title>
<para>Install gnat by running the following commands:</para>
<para><screen><userinput>./doconfig</userinput></screen></para>
<para>The above script will ask you how and where you would like to install
gnat. To avoid conflicts with the system gcc, the package will be installed
in a seperate directory, that can later be removed from the system.</para>
<para>In response to the questions asked by the doconfig script, enter
<userinput>3</userinput> in response to the first question
and <userinput>/opt/gnat</userinput> in response to the
second question.</para>
<para>To finish the install, run</para>
<para><screen><userinput>./doinstall</userinput></screen></para>
<para>The gnat compiler can be invoked by executing the gcc binary
installed by the above script. To avoid conflicts with the system
gcc, we will rename the gcc command.</para>
<para><screen><userinput>cd /opt/gnat/bin &amp;&amp;
mv gcc gnatgcc &amp;&amp;
cd real &amp;&amp;
mv gcc gnatgcc</userinput></screen></para>
</sect2>