gcc-exp.xml 866 B

12345678910111213141516171819202122232425262728293031
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para>
  4. <userinput>patch -Np1 -i ../gcc-3.0.patch:</userinput> This patch
  5. changes the compilation options so that the make only fails on the
  6. second error, not the first. This is required for the static build not
  7. to fail.
  8. </para>
  9. <para>
  10. <userinput>--enable-languages=c,c++:</userinput> This only builds the C
  11. and C++ compilers and not the other available compilers as they are, on
  12. the average, not often used. If those other compilers are needed,
  13. the --enable-languages parameter can be omitted.
  14. </para>
  15. <para>
  16. <userinput>ln -s ../usr/bin/cpp:</userinput> This
  17. creates the $LFS/lib/cpp symlink. Some packages explicitly try to find
  18. cpp in /lib.
  19. </para>
  20. <para>
  21. <userinput>ln -s ../bin/cpp:</userinput> This
  22. creates the $LFS/usr/lib/cpp symlink as there are packages that expect
  23. cpp to be in /usr/lib.
  24. </para>
  25. </sect2>