Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

154 lines
7.2KB

  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>Front End Config (GNU Compiler Collection (GCC) Internals)</title>
  21. <meta name="description" content="Front End Config (GNU Compiler Collection (GCC) Internals)">
  22. <meta name="keywords" content="Front End Config (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="Front-End.html#Front-End" rel="up" title="Front End">
  30. <link href="Front-End-Makefile.html#Front-End-Makefile" rel="next" title="Front End Makefile">
  31. <link href="Front-End-Directory.html#Front-End-Directory" rel="prev" title="Front End Directory">
  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="Front-End-Config"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="Front-End-Makefile.html#Front-End-Makefile" accesskey="n" rel="next">Front End Makefile</a>, Previous: <a href="Front-End-Directory.html#Front-End-Directory" accesskey="p" rel="prev">Front End Directory</a>, Up: <a href="Front-End.html#Front-End" accesskey="u" rel="up">Front End</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="The-Front-End-config_002dlang_002ein-File"></a>
  68. <h4 class="subsubsection">6.3.8.2 The Front End <samp>config-lang.in</samp> File</h4>
  69. <p>Each language subdirectory contains a <samp>config-lang.in</samp> file.
  70. This file is a shell script that may define some variables describing
  71. the language:
  72. </p>
  73. <dl compact="compact">
  74. <dt><code>language</code></dt>
  75. <dd><p>This definition must be present, and gives the name of the language
  76. for some purposes such as arguments to <samp>--enable-languages</samp>.
  77. </p></dd>
  78. <dt><code>lang_requires</code></dt>
  79. <dd><p>If defined, this variable lists (space-separated) language front ends
  80. other than C that this front end requires to be enabled (with the
  81. names given being their <code>language</code> settings). For example, the
  82. Obj-C++ front end depends on the C++ and ObjC front ends, so sets
  83. &lsquo;<samp>lang_requires=&quot;objc c++&quot;</samp>&rsquo;.
  84. </p></dd>
  85. <dt><code>subdir_requires</code></dt>
  86. <dd><p>If defined, this variable lists (space-separated) front end directories
  87. other than C that this front end requires to be present. For example,
  88. the Objective-C++ front end uses source files from the C++ and
  89. Objective-C front ends, so sets &lsquo;<samp>subdir_requires=&quot;cp objc&quot;</samp>&rsquo;.
  90. </p></dd>
  91. <dt><code>target_libs</code></dt>
  92. <dd><p>If defined, this variable lists (space-separated) targets in the top
  93. level <samp>Makefile</samp> to build the runtime libraries for this
  94. language, such as <code>target-libobjc</code>.
  95. </p></dd>
  96. <dt><code>lang_dirs</code></dt>
  97. <dd><p>If defined, this variable lists (space-separated) top level
  98. directories (parallel to <samp>gcc</samp>), apart from the runtime libraries,
  99. that should not be configured if this front end is not built.
  100. </p></dd>
  101. <dt><code>build_by_default</code></dt>
  102. <dd><p>If defined to &lsquo;<samp>no</samp>&rsquo;, this language front end is not built unless
  103. enabled in a <samp>--enable-languages</samp> argument. Otherwise, front
  104. ends are built by default, subject to any special logic in
  105. <samp>configure.ac</samp> (as is present to disable the Ada front end if the
  106. Ada compiler is not already installed).
  107. </p></dd>
  108. <dt><code>boot_language</code></dt>
  109. <dd><p>If defined to &lsquo;<samp>yes</samp>&rsquo;, this front end is built in stage1 of the
  110. bootstrap. This is only relevant to front ends written in their own
  111. languages.
  112. </p></dd>
  113. <dt><code>compilers</code></dt>
  114. <dd><p>If defined, a space-separated list of compiler executables that will
  115. be run by the driver. The names here will each end
  116. with &lsquo;<samp>\$(exeext)</samp>&rsquo;.
  117. </p></dd>
  118. <dt><code>outputs</code></dt>
  119. <dd><p>If defined, a space-separated list of files that should be generated
  120. by <samp>configure</samp> substituting values in them. This mechanism can
  121. be used to create a file <samp><var>language</var>/Makefile</samp> from
  122. <samp><var>language</var>/Makefile.in</samp>, but this is deprecated, building
  123. everything from the single <samp>gcc/Makefile</samp> is preferred.
  124. </p></dd>
  125. <dt><code>gtfiles</code></dt>
  126. <dd><p>If defined, a space-separated list of files that should be scanned by
  127. <samp>gengtype.c</samp> to generate the garbage collection tables and routines for
  128. this language. This excludes the files that are common to all front
  129. ends. See <a href="Type-Information.html#Type-Information">Type Information</a>.
  130. </p>
  131. </dd>
  132. </dl>
  133. <hr>
  134. <div class="header">
  135. <p>
  136. Next: <a href="Front-End-Makefile.html#Front-End-Makefile" accesskey="n" rel="next">Front End Makefile</a>, Previous: <a href="Front-End-Directory.html#Front-End-Directory" accesskey="p" rel="prev">Front End Directory</a>, Up: <a href="Front-End.html#Front-End" accesskey="u" rel="up">Front End</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>
  137. </div>
  138. </body>
  139. </html>