Revision: 318 Author: alai04 Date: Wed Sep 2 21:13:20 2009 Log: 转换至1.40.0,第4批,包含boost工具 http://code.google.com/p/boost-doc-zh/source/detail?r=318 Modified: /trunk/doc/html/bbv2/advanced.html /trunk/doc/html/bbv2/reference.html /trunk/doc/html/boostbook/getting/started.html /trunk/doc/html/quickbook/syntax.html ======================================= --- /trunk/doc/html/bbv2/advanced.html Wed Jun 3 00:13:45 2009 +++ /trunk/doc/html/bbv2/advanced.html Wed Sep 2 21:13:20 2009 @@ -789,7 +789,11 @@ requires proper support in the source code itself.<br> 生成的二进制文件是线程安全的。这一要求应在源码本身上正确支持。</td> </tr> -<tr> +<tr><td>address-model</td> +<td>32,64</td>+<td>Explicitly request either 32-bit or 64-bit code generation. This typically +requires that your compiler is appropriately configured. Please refer to <a class="xref" title="C++ Compilers" href="reference.html#bbv2.reference.tools.compilers">the section called “C++ +Compilers”</a> and your compiler documentation in case of problems.<br>显式 要求生成32位或64位代码。这明确要求你的编译器是正确配置的。如有问题请参考 <a class="xref" title="C++ Compilers" href="reference.html#bbv2.reference.tools.compilers">“C++ 编译器”一节</a> 及 你的编译器文档。</td></tr><tr>
<td>toolset</td> <td>(Depends on configuration)</td><td>The C++ compiler to use. See <a class="xref" title="C++ Compilers" href="reference.html#bbv2.reference.tools.compilers">the
@@ -797,7 +801,9 @@使用的 C++ 编译器。详细列表请见 <a class="xref" title="C++ Compilers" href="reference.html#bbv2.reference.tools.compilers">“C++编译器”
一节</a>。</td> </tr> -<tr>+<tr><td>includes</td><td>(Arbitrary string)</td><td>Additional include paths for C and C++ compilers.<br> +用于C和C++编译器的额外包含路径。 </td></tr><tr><td>define</td><td>(Arbitrary string)</td><td>Additional macro definitions for C and C++ compilers.<br>
+用于C和C++编译器的额外宏定义。</td></tr><tr> <td>cxxflags</td> <td>(Arbitrary string)</td> <td>Custom options to pass to the C++ compiler.<br> @@ -809,19 +815,11 @@ <td>Custom options to pass to the C compiler.<br> 定制传递给C编译器的选项。</td> </tr> -<tr> -<td>includes</td> + + +<tr><td>linkflags</td> <td>(Arbitrary string)</td> -<td>Additional include paths for C and C++ compilers.<br> -用于C和C++编译器的额外包含路径。</td> -</tr> -<tr> -<td>define</td> -<td>(Arbitrary string)</td> -<td>Additional macro definitions for C and C++ compilers.<br> -用于C和C++编译器的额外宏定义。</td> -</tr> -<tr>+<td>Custom options to pass to the C++ linker.<br>定制传递给C++链接器的选 项。</td></tr><tr>
<td>runtime-link</td> <td>shared,static</td> <td>Determines if shared or static version of C and C++ ======================================= --- /trunk/doc/html/bbv2/reference.html Mon Mar 23 00:08:02 2009 +++ /trunk/doc/html/bbv2/reference.html Wed Sep 2 21:13:20 2009 @@ -485,7 +485,8 @@<a name="bbv2.reference.tools.compilers"></a>C++ Compilers C++编译器 </h4></div></div></div>
<div class="toc"><dl><dt><span class="section"><a href="reference.html#bbv2.reference.tools.compiler.gcc">GNU C++</a></span></dt> -<dt><span class="section"><a href="reference.html#bbv2.reference.tools.compiler.msvc">Microsoft Visual C++</a></span></dt> +<dt><span class="section"><a href="reference.html#bbv2.reference.tools.compiler.darwin">Apple Darwin +gcc</a></span><span class="section"></span></dt><dt><span class="section"><a href="reference.html#bbv2.reference.tools.compiler.msvc">Microsoft Visual C++</a></span></dt> <dt><span class="section"><a href="reference.html#bbv2.reference.tools.compiler.intel">Intel C++</a></span></dt> <dt><span class="section"><a href="reference.html#bbv2.reference.tools.compiler.acc">HP aC++ compiler</a></span></dt> <dt><span class="section"><a href="reference.html#bbv2.reference.tools.compiler.borland">Borland C++ Compiler</a></span></dt>
@@ -561,8 +562,22 @@ </div> <div class="section" lang="en"> -<div class="titlepage"><div><div><h5 class="title">-<a name="bbv2.reference.tools.compiler.msvc"></a>Microsoft Visual C++</h5></div></div></div> +<div class="titlepage"><div><div><div class="section" title="Apple Darwin gcc">
+<div class="titlepage"> +<div> +<div>+<h5 class="title"><a name="bbv2.reference.tools.compiler.darwin"></a>Apple Darwin
+gcc</h5></div></div></div>+<p>The <code class="computeroutput">darwin</code> module supports the version of +gcc that is modified and provided by Apple. The configuration is essentially +identical to that of the gcc module.<br><code class="computeroutput">darwin</code> 模块支持专为 Apple 修正和提供的 gcc 版 本。该配置基本上与 gcc 模块相同。 </p> +<p><a class="indexterm" name="id2141320"></a>The darwin toolset can generate so +called "fat" binaries―binaries that can run support more than one architecture,
+or address mode. To build a binary that can run both on Intel and PowerPC+processors, specify <code class="computeroutput">architecture=combined</code>. To +build a binary that can run both in 32-bit and 64-bit modes, specify <code class="computeroutput">address-model=32_64</code>. If you specify both of those +properties, a "4-way" fat binary will be generated.<br>darwin 工具集可生成 被称为 "fat" 的二进制文件―即可在一个以上的体系或地址模式上运行的二进制文件。 要构建一个可以同时在 Intel 和 PowerPC +处理器上运行的二进制文件,指定 <code class="computeroutput">architecture=combined</code>。要构建一个可以同时在 32位和64位模式下运行的二进制文件,指定 <code class="computeroutput">address-model=32_64</code>。如果你同时指定这两个特 性,则生成一个 "4-way" 的 fat 二进制文件。 </p></div><h5 class="title"><a name="bbv2.reference.tools.compiler.msvc"></a>Microsoft Visual C++</h5></div></div></div>
<p>The <code class="computeroutput">msvc</code> module supports the<a href="http://msdn.microsoft.com/visualc/"; target="_top">Microsoft Visual
C++</a> command-line tools on Microsoft Windows. The supported ======================================= --- /trunk/doc/html/boostbook/getting/started.html Wed Jun 3 00:13:45 2009 +++ /trunk/doc/html/boostbook/getting/started.html Wed Sep 2 21:13:20 2009 @@ -51,19 +51,17 @@ <div class="section" lang="en"> <div class="titlepage"><div><div><h3 class="title"><a name="boostbook.setup.autounix"></a>Automatic setup for Unix-like systems 类Unix系统上的自动设置</h3></div></div></div>
-<p>BoostBook provides a nearly-automatic setup script. Once - you have downloaded and- installed <span class="command"><strong>xsltproc</strong></span>, <span class="command"><strong>doxygen</strong></span>, - and (optionally) <span class="command"><strong>java</strong></span>, the setup script can
- download the required DocBook stylesheets, DocBook DTD, and - (when Java is enabled) Apache FOP for PDF output. It will then - configure Boost.Build version 2 to build BoostBook - documentation. To perform the installation, execute the- script <span class="command"><strong>tools/boostbook/setup_boostbook.sh</strong></span>
- from a directory where you would like the resulting XSL, DTD,- and Apache FOP installations to occur.<br>BoostBook 提供了几乎是自动 化的设置脚本。在你下载并安装完成 <span class="command"><strong>xsltproc</strong></span>, <span class="command"><strong>doxygen</strong></span>, +<p>BoostBook provides a nearly-automatic setup script. Once you have downloaded +and installed <span class="command"><strong>xsltproc</strong></span>, <span class="command"><strong>doxygen</strong></span>, and (optionally) <span class="command"><strong>java</strong></span>, the setup script can download the +required DocBook stylesheets, DocBook DTD, and (when Java is enabled) Apache FOP +for PDF output. It will then configure Boost.Build version 2 to build BoostBook +documentation.<br>BoostBook 提供了几乎是自动化的设置脚本。在你下载并安装完 成 <span class="command"><strong>xsltproc</strong></span>, <span class="command"><strong>doxygen</strong></span>, 还有(可选的) <span class="command"><strong>java</strong></span> 后,设置脚本就可以下载所需的 DocBook stylesheets, DocBook DTD, 和(如果 Java 是可用的)用于 PDF 输出的 Apache FOP。然后它将配置 Boost.Build V2 以构建 BoostBook - 文档。要进行这个安装,请从一个你想要存放最终的 XSL, DTD 和 Apache FOP 安装的目录下执行脚本 <span class="command"><strong>tools/boostbook/setup_boostbook.sh</strong></span>。 </p>
+ 文档。</p>+<p>The script requires: <span class="command"><strong>sh</strong></span>, <span class="command"><strong>curl</strong></span> and <span class="command"><strong>gunzip</strong></span>. To perform the installation, +execute the script <span class="command"><strong>tools/boostbook/setup_boostbook.sh</strong></span> from a
+directory where you would like the resulting XSL, DTD, and Apache FOP+installations to occur.<br>该脚本需要:<span class="command"><strong>sh</strong></span>, <span class="command"><strong>curl</strong></span> 和 <span class="command"><strong>gunzip</strong></span>。要进行这个安装,请从一个你想 要存放最终的 XSL, DTD 和 Apache FOP 安装的目录下执行脚本 <span class="command"><strong>tools/boostbook/setup_boostbook.sh</strong></span>。 </p>
</div> <div class="section" lang="en"> <div class="titlepage"><div><div><h3 class="title"> ======================================= --- /trunk/doc/html/quickbook/syntax.html Wed Jun 3 00:13:45 2009 +++ /trunk/doc/html/quickbook/syntax.html Wed Sep 2 21:13:20 2009 @@ -544,7 +544,10 @@ <code class="literal">[python]</code> </p> </td> -</tr> +</tr><tr><td> +<p>Plain Text 普通文本 </p></td> +<td> +<p><code class="literal">[teletype]</code> </p></td></tr> </tbody> </table></div> </div>