Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/tools/build/v1/gcc-tools.html @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

File size: 3.9 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4<head>
5  <meta name="generator" content=
6  "HTML Tidy for Linux/x86 (vers 1st September 2003), see www.w3.org">
7  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
8  <link rel="stylesheet" type="text/css" href="../../../boost.css">
9
10  <title>Boost.Build - gcc toolset</title>
11</head>
12
13<body link="#0000FF" vlink="#800080">
14  <table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
15  "header">
16    <tr>
17      <td valign="top" width="300">
18        <h3><a href="http://www.boost.org"><img height="86" width="277" alt=
19        "C++ Boost" src="../../../boost.png" border="0"></a></h3>
20      </td>
21
22      <td valign="top">
23        <h1 align="center">Boost.Build</h1>
24
25        <h2 align="center">gcc toolset</h2>
26      </td>
27    </tr>
28  </table>
29  <hr>
30
31  <h2>Introduction</h2>
32
33  <p>Boost.Build's <a href="http://gcc.gnu.org">gcc</a> toolset supports the
34  GNU GCC compiler on a variety of Unices, including (but not limited to)
35  SunOS, BeOS, MacOS X, and of course Linux. For Windows users, it also
36  supports <a href="http://www.cygwin.com">Cygwin</a> GCC, though <a href=
37  "http://www.mingw.org">MinGW</a> has <a href="mingw-tools.html">its own
38  distinct toolset</a>.</p>
39
40  <h2><a name="configuration" id="configuration">Configuration
41  Variables</a></h2>The gcc toolset responds to the following variables,
42  which can be set in the environment or configured on the jam command-line
43  using <code>-s<i>VARIABLE_NAME</i>=</code><i>value</i>:
44
45  <table border="1" summary="settings">
46    <tr>
47      <th>Variable Name</th>
48
49      <th>Semantics</th>
50
51      <th>Default</th>
52
53      <th>Notes</th>
54    </tr>
55
56    <tr>
57      <td><code>GCC_ROOT_DIRECTORY</code></td>
58
59      <td>The directory in which GCC was installed.</td>
60
61      <td><code>""</code> (the empty string)</td>
62
63      <td>Usually, there is no need to set this variable at all. However, if
64      g++ is not in the path it is usually sufficient to configure this one
65      variable. More fine-grained configuration is available by setting the
66      variables below.</td>
67    </tr>
68
69    <tr>
70      <td><code>GCC_BIN_DIRECTORY</code></td>
71
72      <td>The directory prefix used to find the gcc executables</td>
73
74      <td><code>$(GCC_ROOT_DIRECTORY)/bin/</code>, or "" if
75      <code>GCC_ROOT_DIRECTORY</code> is not set.</td>
76    </tr>
77
78    <tr>
79      <td><code>GCC_INCLUDE_DIRECTORY</code></td>
80
81      <td>The directory in which to find system includes.</td>
82
83      <td><i>empty</i>.</td>
84
85      <td>Normally, GCC installations can locate their own system includes
86      without assistance.</td>
87    </tr>
88
89    <tr>
90      <td><code>GCC_STDLIB_DIRECTORY</code></td>
91
92      <td>the directory in which to find the standard library objects
93      associated with this build of gcc.</td>
94
95      <td><code>$(GCC_ROOT_DIRECTORY)/lib</code>.</td>
96    </tr>
97
98    <tr>
99      <td><code>GXX</code></td>
100
101      <td>The name by which g++ is invoked.</td>
102
103      <td><code>g++</code></td>
104
105      <td>May be used in lieu of setting the <code>&lt;cxxflags&gt;</code>
106      property to force options such as "<code>-V3.0.4</code>" into the g++
107      command line: "<code>-sGXX=g++ -V3.0.4</code>".</td>
108    </tr>
109
110    <tr>
111      <td><code>GCC</code></td>
112
113      <td>Similar to GXX, the name by which gcc is invoked for "C" language
114      targets.</td>
115
116      <td><code>gcc</code></td>
117    </tr>
118  </table>
119  <hr>
120
121  <p>Revised
122  <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
123   06 May, 2002 <!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
124
125  <p>Copyright &copy; Dave Abrahams 2002.</p>
126
127  <p><small>Distributed under the Boost Software License, Version 1.0. (See
128  accompanying file <a href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
129  copy at <a href=
130  "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
131</body>
132</html>
Note: See TracBrowser for help on using the repository browser.