mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
133 lines
3.9 KiB
HTML
133 lines
3.9 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
|
<head>
|
|
<meta name="generator" content=
|
|
"HTML Tidy for Linux/x86 (vers 1st September 2003), see www.w3.org">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<link rel="stylesheet" type="text/css" href="../../../boost.css">
|
|
|
|
<title>Boost.Build - gcc toolset</title>
|
|
</head>
|
|
|
|
<body link="#0000FF" vlink="#800080">
|
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
|
"header">
|
|
<tr>
|
|
<td valign="top" width="300">
|
|
<h3><a href="http://www.boost.org"><img height="86" width="277" alt=
|
|
"C++ Boost" src="../../../boost.png" border="0"></a></h3>
|
|
</td>
|
|
|
|
<td valign="top">
|
|
<h1 align="center">Boost.Build</h1>
|
|
|
|
<h2 align="center">gcc toolset</h2>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<hr>
|
|
|
|
<h2>Introduction</h2>
|
|
|
|
<p>Boost.Build's <a href="http://gcc.gnu.org">gcc</a> toolset supports the
|
|
GNU GCC compiler on a variety of Unices, including (but not limited to)
|
|
SunOS, BeOS, MacOS X, and of course Linux. For Windows users, it also
|
|
supports <a href="http://www.cygwin.com">Cygwin</a> GCC, though <a href=
|
|
"http://www.mingw.org">MinGW</a> has <a href="mingw-tools.html">its own
|
|
distinct toolset</a>.</p>
|
|
|
|
<h2><a name="configuration" id="configuration">Configuration
|
|
Variables</a></h2>The gcc toolset responds to the following variables,
|
|
which can be set in the environment or configured on the jam command-line
|
|
using <code>-s<i>VARIABLE_NAME</i>=</code><i>value</i>:
|
|
|
|
<table border="1" summary="settings">
|
|
<tr>
|
|
<th>Variable Name</th>
|
|
|
|
<th>Semantics</th>
|
|
|
|
<th>Default</th>
|
|
|
|
<th>Notes</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>GCC_ROOT_DIRECTORY</code></td>
|
|
|
|
<td>The directory in which GCC was installed.</td>
|
|
|
|
<td><code>""</code> (the empty string)</td>
|
|
|
|
<td>Usually, there is no need to set this variable at all. However, if
|
|
g++ is not in the path it is usually sufficient to configure this one
|
|
variable. More fine-grained configuration is available by setting the
|
|
variables below.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>GCC_BIN_DIRECTORY</code></td>
|
|
|
|
<td>The directory prefix used to find the gcc executables</td>
|
|
|
|
<td><code>$(GCC_ROOT_DIRECTORY)/bin/</code>, or "" if
|
|
<code>GCC_ROOT_DIRECTORY</code> is not set.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>GCC_INCLUDE_DIRECTORY</code></td>
|
|
|
|
<td>The directory in which to find system includes.</td>
|
|
|
|
<td><i>empty</i>.</td>
|
|
|
|
<td>Normally, GCC installations can locate their own system includes
|
|
without assistance.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>GCC_STDLIB_DIRECTORY</code></td>
|
|
|
|
<td>the directory in which to find the standard library objects
|
|
associated with this build of gcc.</td>
|
|
|
|
<td><code>$(GCC_ROOT_DIRECTORY)/lib</code>.</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>GXX</code></td>
|
|
|
|
<td>The name by which g++ is invoked.</td>
|
|
|
|
<td><code>g++</code></td>
|
|
|
|
<td>May be used in lieu of setting the <code><cxxflags></code>
|
|
property to force options such as "<code>-V3.0.4</code>" into the g++
|
|
command line: "<code>-sGXX=g++ -V3.0.4</code>".</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>GCC</code></td>
|
|
|
|
<td>Similar to GXX, the name by which gcc is invoked for "C" language
|
|
targets.</td>
|
|
|
|
<td><code>gcc</code></td>
|
|
</tr>
|
|
</table>
|
|
<hr>
|
|
|
|
<p>Revised
|
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
|
06 May, 2002 <!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
|
|
|
<p>Copyright © Dave Abrahams 2002.</p>
|
|
|
|
<p><small>Distributed under the Boost Software License, Version 1.0. (See
|
|
accompanying file <a href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
|
|
copy at <a href=
|
|
"http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
|
|
</body>
|
|
</html>
|