lfs/chapter06/gcc-inst.xml
Gerard Beekmans 84479a6efd Updated to current versions
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@685 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-06-20 04:43:00 +00:00

22 lines
613 B
XML

<sect2>
<title>Installation of GCC</title>
<para>
Install GCC by running the following commands:
</para>
<blockquote><literallayout>
<userinput>mkdir /usr/src/gcc-build &amp;&amp;</userinput>
<userinput>cd /usr/src/gcc-build &amp;&amp;</userinput>
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--with-slibdir=/lib
--enable-shared \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--enable-languages=c,c++
&amp;&amp;</userinput>
<userinput>make bootstrap &amp;&amp;</userinput>
<userinput>make install</userinput>
</literallayout></blockquote>
</sect2>