| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299 | msgid ""msgstr """Project-Id-Version: PACKAGE VERSION\n""POT-Creation-Date: 2020-06-17 12:44+0800\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\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: <sect1><sect1info><address>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:14#, no-wrapmsgid "&gmp-url;"msgstr "&gmp-url;"#. type: Content of: <sect1><sect1info>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:12msgid """<productname>gmp</productname> <productnumber>&gmp-version;</productnumber> ""<placeholder type=\"address\" id=\"0\"/>"msgstr """<productname>gmp</productname> <productnumber>&gmp-version;</productnumber> ""<placeholder type=\"address\" id=\"0\"/>"#. type: Content of: <sect1><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:17msgid "GMP-&gmp-version;"msgstr "GMP-&gmp-version;"#. type: Content of: <sect1><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:20msgid "GMP"msgstr "GMP"#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:26msgid """The GMP package contains math libraries. These have useful functions for ""arbitrary precision arithmetic."msgstr "GMP 软件包包含提供任意精度算术函数的数学库。"#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:30msgid "&buildtime;"msgstr "&buildtime;"#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:31msgid "&diskspace;"msgstr "&diskspace;"#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:34msgid "&gmp-fin-sbu;"msgstr "&gmp-fin-sbu;"#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:35msgid "&gmp-fin-du;"msgstr "&gmp-fin-du;"#. type: Content of: <sect1><sect2><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:42msgid "Installation of GMP"msgstr "安装 GMP"#. type: Content of: <sect1><sect2><note><para><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:50#, no-wrapmsgid "<userinput><parameter>ABI=32</parameter> ./configure ...</userinput>"msgstr "<userinput><parameter>ABI=32</parameter> ./configure ...</userinput>"#. type: Content of: <sect1><sect2><note><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:45msgid """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>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:59#, no-wrapmsgid """<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>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:54msgid """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>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:63msgid "Prepare GMP for compilation:"msgstr "准备编译 GMP:"#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:65#, no-wrapmsgid """<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>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:71msgid "The meaning of the new configure options:"msgstr "新的配置选项的含义:"#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:74msgid "<parameter>--enable-cxx</parameter>"msgstr "<parameter>--enable-cxx</parameter>"#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:76msgid "This parameter enables C++ support"msgstr "该参数启用 C++ 支持"#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:81msgid "<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>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:83msgid "This variable specifies the correct place for the documentation."msgstr "该变量指定文档的正确位置"#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:90msgid "Compile the package and generate the HTML documentation:"msgstr "编译该软件包,并生成 HTML 文档:"#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:92#, no-wrapmsgid """<userinput remap=\"make\">make\n""make html</userinput>"msgstr """<userinput remap=\"make\">make\n""make html</userinput>"#. type: Content of: <sect1><sect2><important><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:96msgid """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>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:100msgid "Test the results:"msgstr "测试编译结果:"#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:102#, no-wrapmsgid "<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>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:104msgid """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>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:111msgid """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>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:114#, no-wrapmsgid "<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>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:116msgid "Install the package and its documentation:"msgstr "安装该软件包及其文档:"#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:118#, no-wrapmsgid """<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>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:124msgid "Contents of GMP"msgstr "GMP 的内容"#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:127msgid "Installed Libraries"msgstr "安装的库"#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:128msgid "Installed directory"msgstr "安装的目录"#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:131msgid "libgmp.so and libgmpxx.so"msgstr "libgmp.so 和 libgmpxx.so"#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:132msgid "/usr/share/doc/gmp-&gmp-version;"msgstr "/usr/share/doc/gmp-&gmp-version;"#. type: Content of: <sect1><sect2><variablelist><bridgehead>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:137msgid "Short Descriptions"msgstr "简要描述"#. type: Content of: <sect1><sect2><variablelist>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:138msgid """<?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>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:142msgid "<filename class=\"libraryfile\">libgmp</filename>"msgstr "<filename class=\"libraryfile\">libgmp</filename>"#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:144msgid "Contains precision math functions"msgstr "包含任意精度数学函数"#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:146msgid "libgmp"msgstr "libgmp"#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:152msgid "<filename class=\"libraryfile\">libgmpxx</filename>"msgstr "<filename class=\"libraryfile\">libgmpxx</filename>"#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:154msgid "Contains C++ precision math functions"msgstr "包含 C++ 任意精度数学函数"#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:156msgid "libgmpxx"msgstr "libgmpxx"
 |