101 lines
3.1 KiB
HTML
101 lines
3.1 KiB
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<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="../../c++boost.gif" 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>.
|
|
|
|
<h2><a name="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">
|
|
|
|
<tr><th>Variable Name <th>Semantics <th>Default <th>Notes
|
|
|
|
<tr>
|
|
<td><code>GCC_ROOT_DIRECTORY</code>
|
|
<td>The directory in which GCC was installed.
|
|
<td><code>""</code> (the empty string)
|
|
<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.
|
|
|
|
<tr>
|
|
<td><code>GCC_BIN_DIRECTORY</code>
|
|
<td>The directory prefix used to find the gcc executables
|
|
<td><code>$(GCC_ROOT_DIRECTORY)/bin/</code>, or "" if <code>GCC_ROOT_DIRECTORY</code> is
|
|
not set.
|
|
|
|
|
|
<tr>
|
|
|
|
<td><code>GCC_INCLUDE_DIRECTORY</code>
|
|
|
|
<td> The directory in which to find system includes.
|
|
<td>
|
|
<i>empty</i>.
|
|
<td>Normally, GCC installations can locate their own system includes
|
|
without assistance.
|
|
|
|
<tr>
|
|
<td><code>GCC_STDLIB_DIRECTORY</code>
|
|
<td> the directory in which to find the standard library
|
|
objects associated with this build of gcc.
|
|
<td>
|
|
<code>$(GCC_ROOT_DIRECTORY)/lib</code>.
|
|
|
|
<tr>
|
|
<td><code>GXX</code>
|
|
<td>The name by which g++ is invoked.
|
|
<td><code>g++</code>
|
|
<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>".
|
|
<tr>
|
|
<td><code>GCC</code>
|
|
<td>Similar to GXX, the name by which gcc is invoked for "C"
|
|
language targets.
|
|
<td><code>gcc</code>
|
|
|
|
</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><i>© Copyright <a href="../../people/dave_abrahams.htm">Dave Abrahams</a>
|
|
2002. All Rights Reserved.</i></p>
|
|
</body>
|
|
</html>
|