msgid "" msgstr "" "X-Pootle-Revision: 9999999\n" "X-Pootle-Path: /zh_CN/lfs/chapter08/gmp.po\n" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2020-08-08 19:28+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Translate Toolkit 2.2.5\n" #. type: Content of:
#, no-wrap msgid "&gmp-url;" msgstr "&gmp-url;" #. type: Content of: msgid "" "gmp &gmp-version; " "" msgstr "" "gmp &gmp-version; " "" #. type: Content of: msgid "GMP-&gmp-version;" msgstr "GMP-&gmp-version;" #. type: Content of: <sect1><indexterm><primary> msgid "GMP" msgstr "GMP" #. type: Content of: <sect1><sect2><para> msgid "" "The GMP package contains math libraries. These have useful functions for " "arbitrary precision arithmetic." msgstr "GMP 软件包包含提供任意精度算术函数的数学库。" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "&buildtime;" msgstr "&buildtime;" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "&diskspace;" msgstr "&diskspace;" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> msgid "&gmp-fin-sbu;" msgstr "&gmp-fin-sbu;" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> msgid "&gmp-fin-du;" msgstr "&gmp-fin-du;" #. type: Content of: <sect1><sect2><title> msgid "Installation of GMP" msgstr "安装 GMP" #. type: Content of: <sect1><sect2><note><para><screen> #, no-wrap msgid "<userinput><parameter>ABI=32</parameter> ./configure ...</userinput>" msgstr "<userinput><parameter>ABI=32</parameter> ./configure ...</userinput>" #. type: Content of: <sect1><sect2><note><para> msgid "" "If you are building for 32-bit x86, but you have a CPU which is capable of " "running 64-bit code <emphasis>and</emphasis> you have specified " "<envar>CFLAGS</envar> in the environment, the configure script will attempt " "to configure for 64-bits and fail. Avoid this by invoking the configure " "command below with <placeholder type=\"screen\" id=\"0\"/>" msgstr "" "如果您在为 32 位 x86 构建 LFS,但您的 CPU 能够运行 64 位代码,<emphasis>而且" "</emphasis> 您指定了 <envar>CFLAGS</envar> 环境变量,配置脚本会试图为 64 位 " "CPU 进行配置并且失败。为了避免这个问题,像下面这样执行 configure 命令:" "<placeholder type=\"screen\" id=\"0\"/>" #. type: Content of: <sect1><sect2><note><para><screen> #, no-wrap msgid "" "<userinput>cp -v configfsf.guess config.guess\n" "cp -v configfsf.sub config.sub</userinput>" msgstr "" "<userinput>cp -v configfsf.guess config.guess\n" "cp -v configfsf.sub config.sub</userinput>" #. type: Content of: <sect1><sect2><note><para> msgid "" "The default settings of GMP produce libraries optimized for the host " "processor. If libraries suitable for processors less capable than the " "host's CPU are desired, generic libraries can be created by running the " "following: <placeholder type=\"screen\" id=\"0\"/>" msgstr "" "GMP 的默认设定会生成为本机处理器优化的库。如果您希望获得适合功能没有本机强大" "的 CPU 的库,执行以下命令,以生成通用库:<placeholder type=\"screen\" id=" "\"0\"/>" #. type: Content of: <sect1><sect2><para> msgid "Prepare GMP for compilation:" msgstr "准备编译 GMP:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "" "<userinput remap=\"configure\">./configure --prefix=/usr \\\n" " --enable-cxx \\\n" " --disable-static \\\n" " --docdir=/usr/share/doc/gmp-&gmp-version;</userinput>" msgstr "" "<userinput remap=\"configure\">./configure --prefix=/usr \\\n" " --enable-cxx \\\n" " --disable-static \\\n" " --docdir=/usr/share/doc/gmp-&gmp-version;</userinput>" #. type: Content of: <sect1><sect2><variablelist><title> msgid "The meaning of the new configure options:" msgstr "新的配置选项的含义:" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> msgid "<parameter>--enable-cxx</parameter>" msgstr "<parameter>--enable-cxx</parameter>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> msgid "This parameter enables C++ support" msgstr "该参数启用 C++ 支持" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> msgid "<parameter>--docdir=/usr/share/doc/gmp-&gmp-version;</parameter>" msgstr "<parameter>--docdir=/usr/share/doc/gmp-&gmp-version;</parameter>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> msgid "This variable specifies the correct place for the documentation." msgstr "该变量指定文档的正确位置" #. type: Content of: <sect1><sect2><para> msgid "Compile the package and generate the HTML documentation:" msgstr "编译该软件包,并生成 HTML 文档:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "" "<userinput remap=\"make\">make\n" "make html</userinput>" msgstr "" "<userinput remap=\"make\">make\n" "make html</userinput>" #. type: Content of: <sect1><sect2><important><para> msgid "" "The test suite for GMP in this section is considered critical. Do not skip " "it under any circumstances." msgstr "" "我们认为,本节中 GMP 的测试套件被认为是关键的。无论如何都不要跳过测试过程。" #. type: Content of: <sect1><sect2><para> msgid "Test the results:" msgstr "测试编译结果:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "<userinput remap=\"test\">make check 2>&1 | tee gmp-check-log</userinput>" msgstr "<userinput remap=\"test\">make check 2>&1 | tee gmp-check-log</userinput>" #. type: Content of: <sect1><sect2><caution><para> msgid "" "The code in gmp is highly optimized for the processor where it is built. " "Occasionally, the code that detects the processor misidentifies the system " "capabilities and there will be errors in the tests or other applications " "using the gmp libraries with the message \"Illegal instruction\". In this " "case, gmp should be reconfigured with the option --build=x86_64-unknown-" "linux-gnu and rebuilt." msgstr "" "GMP 中的代码是针对本机处理器高度优化的。在偶然情况下,检测处理器的代码会错误" "识别 CPU 的功能,导致测试套件或使用 GMP 的其他程序输出消息 “Illegal " "instruction” (非法指令)。如果发生这种情况,需要加入选项 --build=x86_64-" "unknown-linux-gnu 并重新构建 GMP。" #. type: Content of: <sect1><sect2><para> msgid "" "Ensure that all 197 tests in the test suite passed. Check the results by " "issuing the following command:" msgstr "务必确认测试套件中的 197 个测试全部通过。运行以下命令检验结果:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "<userinput remap=\"test\">awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log</userinput>" msgstr "<userinput remap=\"test\">awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log</userinput>" #. type: Content of: <sect1><sect2><para> msgid "Install the package and its documentation:" msgstr "安装该软件包及其文档:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "" "<userinput remap=\"install\">make install\n" "make install-html</userinput>" msgstr "" "<userinput remap=\"install\">make install\n" "make install-html</userinput>" #. type: Content of: <sect1><sect2><title> msgid "Contents of GMP" msgstr "GMP 的内容" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "Installed Libraries" msgstr "安装的库" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "Installed directory" msgstr "安装的目录" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> msgid "libgmp.so and libgmpxx.so" msgstr "libgmp.so 和 libgmpxx.so" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> msgid "/usr/share/doc/gmp-&gmp-version;" msgstr "/usr/share/doc/gmp-&gmp-version;" #. type: Content of: <sect1><sect2><variablelist><bridgehead> msgid "Short Descriptions" msgstr "简要描述" #. type: Content of: <sect1><sect2><variablelist> msgid "" "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" msgstr "" "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> msgid "<filename class=\"libraryfile\">libgmp</filename>" msgstr "<filename class=\"libraryfile\">libgmp</filename>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> msgid "Contains precision math functions" msgstr "包含任意精度数学函数" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> msgid "libgmp" msgstr "libgmp" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> msgid "<filename class=\"libraryfile\">libgmpxx</filename>" msgstr "<filename class=\"libraryfile\">libgmpxx</filename>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> msgid "Contains C++ precision math functions" msgstr "包含 C++ 任意精度数学函数" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> msgid "libgmpxx" msgstr "libgmpxx"