You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

226 lines
8.5KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Copyright (C) 1988-2020 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3 or
  6. any later version published by the Free Software Foundation; with the
  7. Invariant Sections being "Funding Free Software", the Front-Cover
  8. Texts being (a) (see below), and with the Back-Cover Texts being (b)
  9. (see below). A copy of the license is included in the section entitled
  10. "GNU Free Documentation License".
  11. (a) The FSF's Front-Cover Text is:
  12. A GNU Manual
  13. (b) The FSF's Back-Cover Text is:
  14. You have freedom to copy and modify this GNU Manual, like GNU
  15. software. Copies published by the Free Software Foundation raise
  16. funds for GNU development. -->
  17. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  18. <head>
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  20. <title>Top Level (GNU Compiler Collection (GCC) Internals)</title>
  21. <meta name="description" content="Top Level (GNU Compiler Collection (GCC) Internals)">
  22. <meta name="keywords" content="Top Level (GNU Compiler Collection (GCC) Internals)">
  23. <meta name="resource-type" content="document">
  24. <meta name="distribution" content="global">
  25. <meta name="Generator" content="makeinfo">
  26. <link href="index.html#Top" rel="start" title="Top">
  27. <link href="Option-Index.html#Option-Index" rel="index" title="Option Index">
  28. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  29. <link href="Source-Tree.html#Source-Tree" rel="up" title="Source Tree">
  30. <link href="gcc-Directory.html#gcc-Directory" rel="next" title="gcc Directory">
  31. <link href="Configure-Terms.html#Configure-Terms" rel="prev" title="Configure Terms">
  32. <style type="text/css">
  33. <!--
  34. a.summary-letter {text-decoration: none}
  35. blockquote.indentedblock {margin-right: 0em}
  36. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  37. blockquote.smallquotation {font-size: smaller}
  38. div.display {margin-left: 3.2em}
  39. div.example {margin-left: 3.2em}
  40. div.lisp {margin-left: 3.2em}
  41. div.smalldisplay {margin-left: 3.2em}
  42. div.smallexample {margin-left: 3.2em}
  43. div.smalllisp {margin-left: 3.2em}
  44. kbd {font-style: oblique}
  45. pre.display {font-family: inherit}
  46. pre.format {font-family: inherit}
  47. pre.menu-comment {font-family: serif}
  48. pre.menu-preformatted {font-family: serif}
  49. pre.smalldisplay {font-family: inherit; font-size: smaller}
  50. pre.smallexample {font-size: smaller}
  51. pre.smallformat {font-family: inherit; font-size: smaller}
  52. pre.smalllisp {font-size: smaller}
  53. span.nolinebreak {white-space: nowrap}
  54. span.roman {font-family: initial; font-weight: normal}
  55. span.sansserif {font-family: sans-serif; font-weight: normal}
  56. ul.no-bullet {list-style: none}
  57. -->
  58. </style>
  59. </head>
  60. <body lang="en">
  61. <a name="Top-Level"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="gcc-Directory.html#gcc-Directory" accesskey="n" rel="next">gcc Directory</a>, Previous: <a href="Configure-Terms.html#Configure-Terms" accesskey="p" rel="prev">Configure Terms</a>, Up: <a href="Source-Tree.html#Source-Tree" accesskey="u" rel="up">Source Tree</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
  65. </div>
  66. <hr>
  67. <a name="Top-Level-Source-Directory"></a>
  68. <h3 class="section">6.2 Top Level Source Directory</h3>
  69. <p>The top level source directory in a GCC distribution contains several
  70. files and directories that are shared with other software
  71. distributions such as that of GNU Binutils. It also contains several
  72. subdirectories that contain parts of GCC and its runtime libraries:
  73. </p>
  74. <dl compact="compact">
  75. <dt><samp>boehm-gc</samp></dt>
  76. <dd><p>The Boehm conservative garbage collector, optionally used as part of
  77. the ObjC runtime library when configured with <samp>--enable-objc-gc</samp>.
  78. </p>
  79. </dd>
  80. <dt><samp>config</samp></dt>
  81. <dd><p>Autoconf macros and Makefile fragments used throughout the tree.
  82. </p>
  83. </dd>
  84. <dt><samp>contrib</samp></dt>
  85. <dd><p>Contributed scripts that may be found useful in conjunction with GCC.
  86. One of these, <samp>contrib/texi2pod.pl</samp>, is used to generate man
  87. pages from Texinfo manuals as part of the GCC build process.
  88. </p>
  89. </dd>
  90. <dt><samp>fixincludes</samp></dt>
  91. <dd><p>The support for fixing system headers to work with GCC. See
  92. <samp>fixincludes/README</samp> for more information. The headers fixed by
  93. this mechanism are installed in <samp><var>libsubdir</var>/include-fixed</samp>.
  94. Along with those headers, <samp>README-fixinc</samp> is also installed, as
  95. <samp><var>libsubdir</var>/include-fixed/README</samp>.
  96. </p>
  97. </dd>
  98. <dt><samp>gcc</samp></dt>
  99. <dd><p>The main sources of GCC itself (except for runtime libraries),
  100. including optimizers, support for different target architectures,
  101. language front ends, and testsuites. See <a href="gcc-Directory.html#gcc-Directory">The
  102. <samp>gcc</samp> Subdirectory</a>, for details.
  103. </p>
  104. </dd>
  105. <dt><samp>gnattools</samp></dt>
  106. <dd><p>Support tools for GNAT.
  107. </p>
  108. </dd>
  109. <dt><samp>include</samp></dt>
  110. <dd><p>Headers for the <code>libiberty</code> library.
  111. </p>
  112. </dd>
  113. <dt><samp>intl</samp></dt>
  114. <dd><p>GNU <code>libintl</code>, from GNU <code>gettext</code>, for systems which do not
  115. include it in <code>libc</code>.
  116. </p>
  117. </dd>
  118. <dt><samp>libada</samp></dt>
  119. <dd><p>The Ada runtime library.
  120. </p>
  121. </dd>
  122. <dt><samp>libatomic</samp></dt>
  123. <dd><p>The runtime support library for atomic operations (e.g. for <code>__sync</code>
  124. and <code>__atomic</code>).
  125. </p>
  126. </dd>
  127. <dt><samp>libcpp</samp></dt>
  128. <dd><p>The C preprocessor library.
  129. </p>
  130. </dd>
  131. <dt><samp>libdecnumber</samp></dt>
  132. <dd><p>The Decimal Float support library.
  133. </p>
  134. </dd>
  135. <dt><samp>libffi</samp></dt>
  136. <dd><p>The <code>libffi</code> library, used as part of the Go runtime library.
  137. </p>
  138. </dd>
  139. <dt><samp>libgcc</samp></dt>
  140. <dd><p>The GCC runtime library.
  141. </p>
  142. </dd>
  143. <dt><samp>libgfortran</samp></dt>
  144. <dd><p>The Fortran runtime library.
  145. </p>
  146. </dd>
  147. <dt><samp>libgo</samp></dt>
  148. <dd><p>The Go runtime library. The bulk of this library is mirrored from the
  149. <a href="https://github.com/golang/go">master Go repository</a>.
  150. </p>
  151. </dd>
  152. <dt><samp>libgomp</samp></dt>
  153. <dd><p>The GNU Offloading and Multi Processing Runtime Library.
  154. </p>
  155. </dd>
  156. <dt><samp>libiberty</samp></dt>
  157. <dd><p>The <code>libiberty</code> library, used for portability and for some
  158. generally useful data structures and algorithms. See <a href="http://gcc.gnu.org/onlinedocs/libiberty/index.html#Top">Introduction</a> in <cite><small>GNU</small> libiberty</cite>, for more information
  159. about this library.
  160. </p>
  161. </dd>
  162. <dt><samp>libitm</samp></dt>
  163. <dd><p>The runtime support library for transactional memory.
  164. </p>
  165. </dd>
  166. <dt><samp>libobjc</samp></dt>
  167. <dd><p>The Objective-C and Objective-C++ runtime library.
  168. </p>
  169. </dd>
  170. <dt><samp>libquadmath</samp></dt>
  171. <dd><p>The runtime support library for quad-precision math operations.
  172. </p>
  173. </dd>
  174. <dt><samp>libphobos</samp></dt>
  175. <dd><p>The D standard and runtime library. The bulk of this library is mirrored
  176. from the <a href="https://github.com/dlang">master D repositories</a>.
  177. </p>
  178. </dd>
  179. <dt><samp>libssp</samp></dt>
  180. <dd><p>The Stack protector runtime library.
  181. </p>
  182. </dd>
  183. <dt><samp>libstdc++-v3</samp></dt>
  184. <dd><p>The C++ runtime library.
  185. </p>
  186. </dd>
  187. <dt><samp>lto-plugin</samp></dt>
  188. <dd><p>Plugin used by the linker if link-time optimizations are enabled.
  189. </p>
  190. </dd>
  191. <dt><samp>maintainer-scripts</samp></dt>
  192. <dd><p>Scripts used by the <code>gccadmin</code> account on <code>gcc.gnu.org</code>.
  193. </p>
  194. </dd>
  195. <dt><samp>zlib</samp></dt>
  196. <dd><p>The <code>zlib</code> compression library, used for compressing and
  197. uncompressing GCC&rsquo;s intermediate language in LTO object files.
  198. </p></dd>
  199. </dl>
  200. <p>The build system in the top level directory, including how recursion
  201. into subdirectories works and how building runtime libraries for
  202. multilibs is handled, is documented in a separate manual, included
  203. with GNU Binutils. See <a href="../configure/index.html#Top">GNU configure and build system</a> in <cite>The GNU configure and build system</cite>, for details.
  204. </p>
  205. <hr>
  206. <div class="header">
  207. <p>
  208. Next: <a href="gcc-Directory.html#gcc-Directory" accesskey="n" rel="next">gcc Directory</a>, Previous: <a href="Configure-Terms.html#Configure-Terms" accesskey="p" rel="prev">Configure Terms</a>, Up: <a href="Source-Tree.html#Source-Tree" accesskey="u" rel="up">Source Tree</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
  209. </div>
  210. </body>
  211. </html>