gcc-exp.xml 995 B

1234567891011121314151617181920212223242526
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para><userinput>patch -Np1 -i ../gcc-&gcc-version;.patch:</userinput>
  4. This new patch deals with incorrect handling of weak symbols, the
  5. over-optimization of calls to those weak symbols, an atexit issue and
  6. the __dso_handle symbol required for atexit's proper function.</para>
  7. <para><userinput>--enable-languages=c,c++:</userinput> This only builds the C
  8. and C++ compilers and not the other available compilers as they are, on
  9. the average, not often used. If those other compilers are needed,
  10. the --enable-languages parameter can be omitted.</para>
  11. <para><userinput>--enable-threads:</userinput> This makes gcc thread
  12. enabled.</para>
  13. <para><userinput>ln -s ../usr/bin/cpp:</userinput> This
  14. creates the $LFS/lib/cpp symlink. Some packages explicitly try to find
  15. cpp in /lib.</para>
  16. <para><userinput>ln -s ../bin/cpp:</userinput> This
  17. creates the $LFS/usr/lib/cpp symlink as there are packages that expect
  18. cpp to be in /usr/lib.</para>
  19. </sect2>