gcc-desc.sgml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <sect2>
  2. <title>Contents</title>
  3. <para>
  4. The GCC package contains compilers, preprocessors and the GNU C++
  5. Library.
  6. </para>
  7. </sect2>
  8. <sect2><title>Description</title>
  9. <sect3><title>Compiler</title>
  10. <para>
  11. A compiler translates source code in text format to a format
  12. that a computer understands. After a source code file is compiled into
  13. an object file, a linker will create an executable file from one or more
  14. of these compiler generated object files.
  15. </para>
  16. </sect3>
  17. <sect3><title>Pre-processor</title>
  18. <para>
  19. A pre-processor pre-processes a source file, such as including
  20. the contents of header files into the source file. You generally don't
  21. do this yourself to save yourself a lot of time. You just insert a line
  22. like #include &lt;filename&gt;. The pre-processor file insert the
  23. contents of that file into the source file. That's one of the things a
  24. pre-processor does.
  25. </para>
  26. </sect3>
  27. <sect3><title>C++ Library</title>
  28. <para>
  29. The C++ library is used by C++ programs. The C++ library contains
  30. functions that are frequently used in C++ programs. This way the
  31. programmer doesn't have to write certain functions (such as writing a
  32. string of text to the screen) from scratch every time he creates a
  33. program.
  34. </para>
  35. </sect3>
  36. </sect2>