gcc-inst.xml 766 B

12345678910111213141516171819202122232425
  1. <sect2>
  2. <title>Installation of GCC</title>
  3. <para>
  4. After you unpacked the gcc-2.95.2.1 archive don't enter the newly created
  5. gcc-2.95.2.1 directory but stay in the /usr/src directory. Install GCC by
  6. running the following commands:
  7. </para>
  8. <blockquote><literallayout>
  9. <userinput>mkdir /usr/src/gcc-build &amp;&amp;</userinput>
  10. <userinput>cd /usr/src/gcc-build &amp;&amp;</userinput>
  11. <userinput>../gcc-2.95.2.1/configure --prefix=/usr \</userinput>
  12. <userinput>&nbsp;&nbsp;&nbsp;--with-gxx-include-dir=/usr/include/g++
  13. \</userinput>
  14. <userinput>&nbsp;&nbsp;&nbsp;--enable-shared
  15. --enable-languages=c,c++ &amp;&amp;</userinput>
  16. <userinput>make bootstrap &amp;&amp;</userinput>
  17. <userinput>make install</userinput>
  18. </literallayout></blockquote>
  19. </sect2>