gcc-exp.xml 840 B

12345678910111213141516171819202122
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para><userinput>patch -Np1 -i ../gcc-&gcc-version;.patch:</userinput>
  4. This patch fixes a bug in gcc's linker concerning non-exported (weak)
  5. symbols, which was brought to the surface by the new glibc.</para>
  6. <para><userinput>--enable-languages=c,c++:</userinput> This only builds the C
  7. and C++ compilers and not the other available compilers as they are, on
  8. the average, not often used. If those other compilers are needed,
  9. the --enable-languages parameter can be omitted.</para>
  10. <para><userinput>ln -s ../usr/bin/cpp:</userinput> This
  11. creates the $LFS/lib/cpp symlink. Some packages explicitly try to find
  12. cpp in /lib.</para>
  13. <para><userinput>ln -s ../bin/cpp:</userinput> This
  14. creates the $LFS/usr/lib/cpp symlink as there are packages that expect
  15. cpp to be in /usr/lib.</para>
  16. </sect2>