1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
- "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
- <!ENTITY % general-entities SYSTEM "../general.ent">
- %general-entities;
- ]>
- <sect1 id="ch-system-mpc" role="wrap">
- <?dbhtml filename="mpc.html"?>
- <sect1info condition="script">
- <productname>mpc</productname>
- <productnumber>&mpc-version;</productnumber>
- <address>&mpc-url;</address>
- </sect1info>
- <title>MPC-&mpc-version;</title>
- <indexterm zone="ch-system-mpc">
- <primary sortas="a-MPC">MPC</primary>
- </indexterm>
- <sect2 role="package">
- <title/>
- <para>MPC 软件包包含一个任意高精度,且舍入正确的复数算术库。</para>
- <segmentedlist>
- <segtitle>&buildtime;</segtitle>
- <segtitle>&diskspace;</segtitle>
- <seglistitem>
- <seg>&mpc-ch6-sbu;</seg>
- <seg>&mpc-ch6-du;</seg>
- </seglistitem>
- </segmentedlist>
- </sect2>
- <sect2 role="installation">
- <title>安装 MPC</title>
- <para>准备安装 MPC:</para>
- <screen><userinput remap="configure">./configure --prefix=/usr \
- --disable-static \
- --docdir=/usr/share/doc/mpc-&mpc-version;</userinput></screen>
- <para>编译该软件包,并生成 HTML 文档:</para>
- <screen><userinput remap="make">make
- make html</userinput></screen>
- <para>运行以下命令以测试编译结果:</para>
- <screen><userinput remap="test">make check</userinput></screen>
- <para>安装该软件包</para>
- <screen><userinput remap="install">make install
- make install-html</userinput></screen>
- </sect2>
- <sect2 id="contents-mpc" role="content">
- <title>MPC 的内容</title>
- <segmentedlist>
- <segtitle>安装的库</segtitle>
- <segtitle>安装的目录</segtitle>
- <seglistitem>
- <seg>libmpc.so</seg>
- <seg>/usr/share/doc/mpc-&mpc-version;</seg>
- </seglistitem>
- </segmentedlist>
- <variablelist>
- <bridgehead renderas="sect3">简要描述</bridgehead>
- <?dbfo list-presentation="list"?>
- <?dbhtml list-presentation="table"?>
- <varlistentry id="libmpc">
- <term><filename class="libraryfile">libmpc</filename></term>
- <listitem>
- <para>包含复数算术函数</para>
- <indexterm zone="ch-system-mpc libmpc">
- <primary sortas="c-libmpc">libmpc</primary>
- </indexterm>
- </listitem>
- </varlistentry>
- </variablelist>
- </sect2>
- </sect1>
|