2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of GCC</title>
|
|
|
|
|
|
|
|
<para>
|
2001-03-19 16:02:50 +00:00
|
|
|
After a user unpacked the gcc-2.95.2.1 archive he doesn't enter the
|
|
|
|
newly created
|
|
|
|
gcc-2.95.2.1 directory but stays in the /usr/src directory. Install GCC by
|
2001-01-24 00:31:17 +00:00
|
|
|
running the following commands:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<blockquote><literallayout>
|
|
|
|
|
|
|
|
<userinput>mkdir /usr/src/gcc-build &&</userinput>
|
|
|
|
<userinput>cd /usr/src/gcc-build &&</userinput>
|
2001-01-26 20:57:37 +00:00
|
|
|
<userinput>../gcc-2.95.2.1/configure --prefix=/usr \</userinput>
|
2001-01-24 00:31:17 +00:00
|
|
|
<userinput> --with-gxx-include-dir=/usr/include/g++
|
|
|
|
\</userinput>
|
|
|
|
<userinput> --enable-shared
|
|
|
|
--enable-languages=c,c++ &&</userinput>
|
|
|
|
<userinput>make bootstrap &&</userinput>
|
|
|
|
<userinput>make install</userinput>
|
|
|
|
|
|
|
|
</literallayout></blockquote>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|