gcc-inst.xml 775 B

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