gcc-2953-inst.xml 841 B

123456789101112131415161718192021222324
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of GCC</title>
  4. <para>This package is known to behave badly when you have changed its
  5. default optimization flags (including the -march and -mcpu options).
  6. Therefore, if you have defined any environment variables that override
  7. default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting
  8. or modifying them when building GCC.</para>
  9. <para><screen><userinput>patch -Np1 -i ../gcc-2.95.3-2.patch
  10. patch -Np1 -i ../gcc-2.95.3-returntype-fix.patch
  11. echo timestamp > gcc/cstamp-h.in
  12. mkdir ../gcc-2-build
  13. cd ../gcc-2-build
  14. ../gcc-2.95.3/configure --prefix=/opt/gcc-2.95.3 \
  15. &nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --enable-languages=c \
  16. &nbsp;&nbsp;&nbsp;&nbsp;--enable-threads=posix
  17. make bootstrap
  18. make install</userinput></screen></para>
  19. </sect2>