gcc-desc.xml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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>Preprocessor</title>
  18. <para>
  19. A preprocessor pre-processes a source file, such as including
  20. the contents of header files into the source file. It's a good idea to
  21. not
  22. do this manually to save a lot of time. Someone just inserts a line
  23. like #include &lt;filename&gt;. The preprocessor inserts the
  24. contents of that file into the source file. That's one of the things a
  25. preprocessor does.
  26. </para>
  27. </sect3>
  28. <sect3><title>C++ Library</title>
  29. <para>
  30. The C++ library is used by C++ programs. The C++ library contains
  31. functions that are frequently used in C++ programs. This way the
  32. programmer doesn't have to write certain functions (such as writing a
  33. string of text to the screen) from scratch every time he creates a
  34. program.
  35. </para>
  36. </sect3>
  37. </sect2>