2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00
Files
build/v1/mingw-tools.html
Douglas Gregor ea84e350dc Merged from 1.33.0 release
[SVN r30540]
2005-08-12 13:02:37 +00:00

113 lines
3.5 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 - mingw 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">mingw toolset</h2>
</td>
</tr>
</table>
<hr>
<h2>Introduction</h2>
<p>Boost.Build's <a href="http://www.mingw.org">mingw</a> toolset supports
the GNU <a href="http://gcc.gnu.org">GCC</a> compiler as the <a href=
"http://www.mingw.org">MinGW</a> configuration. This is hosted on Windows
and targets standalone Windows objects.</p>
<h2><a name="configuration"></a>Configuration Variables</h2>The mingw 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>. This
toolset is an extension to the <a href="gcc-tools.html">gcc toolset</a>.
<table border="1" summary="settings">
<tr>
<th>Variable Name</th>
<th>Semantics</th>
<th>Default</th>
<th>Notes</th>
</tr>
<tr>
<td><code>MINGW_ROOT_DIRECTORY</code></td>
<td>Path to installation of MinGW.</td>
<td>(none)</td>
<td>If not set tools must be available in the executable path.</td>
</tr>
<tr>
<td><code>MINGW_BIN_DIRECTORY</code></td>
<td>The directory where the tool executables are located.</td>
<td><code>$(MINGW_ROOT_DIRECTORY)/bin/</code></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><code>MINGW_INCLUDE_DIRECTORY</code></td>
<td>The directory containing the headers specific to the tools.</td>
<td><code>$(MINGW_ROOT_DIRECTORY)/include</code></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><code>MINGW_STDLIB_DIRECTORY</code></td>
<td>The directory containing the compiled tool libraries.</td>
<td><code>$(MINGW_ROOT_DIRECTORY)/lib</code></td>
<td>&nbsp;</td>
</tr>
</table>
<p><b>Caution</b>: It appears that none of these paths must contain any
spaces, otherwise <b>spurious</b> file not found errors can result (last
reproduced with GCC3.3.1). To work around this limitation, either install
the MinGW under a path that does not contain spaces or use 8.3 names. For
example, if MinGW is installed in C:\Program Files\Dev-Cpp, <code>&quot;-sMINGW_ROOT_DIRECTORY=C:\Progra~1\Dev-Cpp&quot;</code>
should be specified on the bjam command line.</p>
<hr>
<p>Revised
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->04 November, 2004<!--webbot bot="Timestamp" endspan i-checksum="39360" --></p>
<p>Copyright &copy; 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>