glfs/general/prog/gcc/gnat-inst.xml
Larry Lawrence d8e2e7ce54 update to gcc-3.3.1 and update intro for tcsh
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1005 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-08-30 22:48:04 +00:00

34 lines
1.3 KiB
XML

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