gcc-local-exp.sgml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para>
  4. <userinput>--with-local-prefix:</userinput> GCC installs a number of
  5. files in /usr/local even when --prefix is set to something else. We
  6. don't want that to happen in this case so that's why we use the
  7. --with-local-prefix option to change that path.
  8. </para>
  9. <para>
  10. <userinput>--with-gxx-include-dir:</userinput> GCC installs the C++
  11. header files in /usr/include/g++ by default. Again, in this case we
  12. don't want that to happen, we want this GCC version to be installed
  13. completely under /usr/local/gcc2952.
  14. </para>
  15. <para>
  16. <userinput>make bootstrap:</userinput> Compile GCC by bootstrapping it.
  17. Here that means the compiler will be built three times in total. First
  18. it is compiled with your system's default compiler (which will usually
  19. be a gcc or egcs compiler). This is stage 1 compiler. Then GCC will re-compile
  20. itself but instead of using your system's compiler it will use itself to
  21. compile itself again. This is the stage 2 compiler. Then it will compile
  22. itself a second time with the stage 2 compiler and compares the second
  23. and the third build to see if they are identical. If so, the
  24. compilation was a success.
  25. </para>
  26. </sect2>