[12] | 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 - mingw 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">mingw toolset</h2> |
---|
| 26 | </td> |
---|
| 27 | </tr> |
---|
| 28 | </table> |
---|
| 29 | <hr> |
---|
| 30 | |
---|
| 31 | <h2>Introduction</h2> |
---|
| 32 | |
---|
| 33 | <p>Boost.Build's <a href="http://www.mingw.org">mingw</a> toolset supports |
---|
| 34 | the GNU <a href="http://gcc.gnu.org">GCC</a> compiler as the <a href= |
---|
| 35 | "http://www.mingw.org">MinGW</a> configuration. This is hosted on Windows |
---|
| 36 | and targets standalone Windows objects.</p> |
---|
| 37 | |
---|
| 38 | <h2><a name="configuration"></a>Configuration Variables</h2>The mingw toolset responds to the following |
---|
| 39 | variables which can be set in the environment or configured on the jam |
---|
| 40 | command-line using <code>-s<i>VARIABLE_NAME</i>=</code><i>value</i>. This |
---|
| 41 | toolset is an extension to the <a href="gcc-tools.html">gcc toolset</a>. |
---|
| 42 | |
---|
| 43 | <table border="1" summary="settings"> |
---|
| 44 | <tr> |
---|
| 45 | <th>Variable Name</th> |
---|
| 46 | |
---|
| 47 | <th>Semantics</th> |
---|
| 48 | |
---|
| 49 | <th>Default</th> |
---|
| 50 | |
---|
| 51 | <th>Notes</th> |
---|
| 52 | </tr> |
---|
| 53 | |
---|
| 54 | <tr> |
---|
| 55 | <td><code>MINGW_ROOT_DIRECTORY</code></td> |
---|
| 56 | |
---|
| 57 | <td>Path to installation of MinGW.</td> |
---|
| 58 | |
---|
| 59 | <td>(none)</td> |
---|
| 60 | |
---|
| 61 | <td>If not set tools must be available in the executable path.</td> |
---|
| 62 | </tr> |
---|
| 63 | |
---|
| 64 | <tr> |
---|
| 65 | <td><code>MINGW_BIN_DIRECTORY</code></td> |
---|
| 66 | |
---|
| 67 | <td>The directory where the tool executables are located.</td> |
---|
| 68 | |
---|
| 69 | <td><code>$(MINGW_ROOT_DIRECTORY)/bin/</code></td> |
---|
| 70 | |
---|
| 71 | <td> </td> |
---|
| 72 | </tr> |
---|
| 73 | |
---|
| 74 | <tr> |
---|
| 75 | <td><code>MINGW_INCLUDE_DIRECTORY</code></td> |
---|
| 76 | |
---|
| 77 | <td>The directory containing the headers specific to the tools.</td> |
---|
| 78 | |
---|
| 79 | <td><code>$(MINGW_ROOT_DIRECTORY)/include</code></td> |
---|
| 80 | |
---|
| 81 | <td> </td> |
---|
| 82 | </tr> |
---|
| 83 | |
---|
| 84 | <tr> |
---|
| 85 | <td><code>MINGW_STDLIB_DIRECTORY</code></td> |
---|
| 86 | |
---|
| 87 | <td>The directory containing the compiled tool libraries.</td> |
---|
| 88 | |
---|
| 89 | <td><code>$(MINGW_ROOT_DIRECTORY)/lib</code></td> |
---|
| 90 | |
---|
| 91 | <td> </td> |
---|
| 92 | </tr> |
---|
| 93 | </table> |
---|
| 94 | <p><b>Caution</b>: It appears that none of these paths must contain any |
---|
| 95 | spaces, otherwise <b>spurious</b> file not found errors can result (last |
---|
| 96 | reproduced with GCC3.3.1). To work around this limitation, either install |
---|
| 97 | the MinGW under a path that does not contain spaces or use 8.3 names. For |
---|
| 98 | example, if MinGW is installed in C:\Program Files\Dev-Cpp, <code>"-sMINGW_ROOT_DIRECTORY=C:\Progra~1\Dev-Cpp"</code> |
---|
| 99 | should be specified on the bjam command line.</p> |
---|
| 100 | <hr> |
---|
| 101 | |
---|
| 102 | <p>Revised |
---|
| 103 | <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->04 November, 2004<!--webbot bot="Timestamp" endspan i-checksum="39360" --></p> |
---|
| 104 | |
---|
| 105 | <p>Copyright © Dave Abrahams 2002.</p> |
---|
| 106 | |
---|
| 107 | <p><small>Distributed under the Boost Software License, Version 1.0. (See |
---|
| 108 | accompanying file <a href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or |
---|
| 109 | copy at <a href= |
---|
| 110 | "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> |
---|
| 111 | </body> |
---|
| 112 | </html> |
---|