mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-08 18:47:25 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1199 af4574ff-66df-0310-9fd7-8a98e5e911e0
29 lines
1.1 KiB
XML
29 lines
1.1 KiB
XML
<sect2>
|
|
<title>Installation of <application><acronym>GNAT</acronym></application></title>
|
|
|
|
<para>Install <application><acronym>GNAT</acronym></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><acronym>GNAT</acronym></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><acronym>GNAT</acronym></application> compiler can be
|
|
invoked by executing the <command>gcc</command> binary installed by the above
|
|
script.</para>
|
|
|
|
</sect2>
|
|
|