gcc-desc.xml 1.2 KB

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