gcc-exp.xml 1.1 KB

1234567891011121314151617181920212223242526
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para><userinput>patch -Np1 -i ../gcc-3.0.patch:</userinput> This patch
  4. changes all instances of re_max_failures to re_max_failures2.
  5. re_max_failures is a variable used within Glibc and with static
  6. compiling this variable sometimes clashes between the package's
  7. re_max_failures and the same variable in glibc. By renaming
  8. re_max_failures in the package to re_max_failures2 we just tell the
  9. package to use the second variable so that glibc won't be in the way.</para>
  10. <para><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.</para>
  14. <para><userinput>ln -s ../usr/bin/cpp:</userinput> This
  15. creates the $LFS/lib/cpp symlink. Some packages explicitly try to find
  16. cpp in /lib.</para>
  17. <para><userinput>ln -s ../bin/cpp:</userinput> This
  18. creates the $LFS/usr/lib/cpp symlink as there are packages that expect
  19. cpp to be in /usr/lib.</para>
  20. </sect2>