gmp.po 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. msgid ""
  2. msgstr ""
  3. "Project-Id-Version: PACKAGE VERSION\n"
  4. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  5. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  6. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  7. "Language-Team: LANGUAGE <LL@li.org>\n"
  8. "Language: zh_CN\n"
  9. "MIME-Version: 1.0\n"
  10. "Content-Type: text/plain; charset=UTF-8\n"
  11. "Content-Transfer-Encoding: 8bit\n"
  12. "X-Generator: Translate Toolkit 2.2.5\n"
  13. #. type: Content of: <sect1><sect1info><address>
  14. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:14
  15. #, no-wrap
  16. msgid "&gmp-url;"
  17. msgstr "&gmp-url;"
  18. #. type: Content of: <sect1><sect1info>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:12
  20. msgid ""
  21. "<productname>gmp</productname> <productnumber>&gmp-version;</productnumber> "
  22. "<placeholder type=\"address\" id=\"0\"/>"
  23. msgstr ""
  24. "<productname>gmp</productname> <productnumber>&gmp-version;</productnumber> "
  25. "<placeholder type=\"address\" id=\"0\"/>"
  26. #. type: Content of: <sect1><title>
  27. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:17
  28. msgid "GMP-&gmp-version;"
  29. msgstr "GMP-&gmp-version;"
  30. #. type: Content of: <sect1><indexterm><primary>
  31. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:20
  32. msgid "GMP"
  33. msgstr "GMP"
  34. #. type: Content of: <sect1><sect2><para>
  35. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:26
  36. msgid ""
  37. "The GMP package contains math libraries. These have useful functions for "
  38. "arbitrary precision arithmetic."
  39. msgstr "GMP 软件包包含提供任意精度算术函数的数学库。"
  40. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  41. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:30
  42. msgid "&buildtime;"
  43. msgstr "&buildtime;"
  44. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  45. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:31
  46. msgid "&diskspace;"
  47. msgstr "&diskspace;"
  48. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  49. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:34
  50. msgid "&gmp-fin-sbu;"
  51. msgstr "&gmp-fin-sbu;"
  52. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  53. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:35
  54. msgid "&gmp-fin-du;"
  55. msgstr "&gmp-fin-du;"
  56. #. type: Content of: <sect1><sect2><title>
  57. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:42
  58. msgid "Installation of GMP"
  59. msgstr "安装 GMP"
  60. #. type: Content of: <sect1><sect2><note><para><screen>
  61. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:50
  62. #, no-wrap
  63. msgid "<userinput><parameter>ABI=32</parameter> ./configure ...</userinput>"
  64. msgstr "<userinput><parameter>ABI=32</parameter> ./configure ...</userinput>"
  65. #. type: Content of: <sect1><sect2><note><para>
  66. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:45
  67. msgid ""
  68. "If you are building for 32-bit x86, but you have a CPU which is capable of "
  69. "running 64-bit code <emphasis>and</emphasis> you have specified "
  70. "<envar>CFLAGS</envar> in the environment, the configure script will attempt "
  71. "to configure for 64-bits and fail. Avoid this by invoking the configure "
  72. "command below with <placeholder type=\"screen\" id=\"0\"/>"
  73. msgstr ""
  74. "如果您在为 32 位 x86 构建 LFS,但您的 CPU 能够运行 64 位代码,<emphasis>而"
  75. "且</emphasis> 您指定了 <envar>CFLAGS</envar> 环境变量,配置脚本会试图为 64 "
  76. "位 CPU 进行配置并且失败。为了避免这个问题,像下面这样执行 configure 命令:"
  77. "<placeholder type=\"screen\" id=\"0\"/>"
  78. #. type: Content of: <sect1><sect2><note><para><screen>
  79. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:59
  80. #, no-wrap
  81. msgid ""
  82. "<userinput>cp -v configfsf.guess config.guess\n"
  83. "cp -v configfsf.sub config.sub</userinput>"
  84. msgstr ""
  85. "<userinput>cp -v configfsf.guess config.guess\n"
  86. "cp -v configfsf.sub config.sub</userinput>"
  87. #. type: Content of: <sect1><sect2><note><para>
  88. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:54
  89. msgid ""
  90. "The default settings of GMP produce libraries optimized for the host "
  91. "processor. If libraries suitable for processors less capable than the "
  92. "host's CPU are desired, generic libraries can be created by running the "
  93. "following: <placeholder type=\"screen\" id=\"0\"/>"
  94. msgstr ""
  95. "GMP 的默认设定会生成为本机处理器优化的库。如果您希望获得适合功能没有本机强大"
  96. "的 CPU 的库,执行以下命令,以生成通用库:<placeholder type=\"screen\" id="
  97. "\"0\"/>"
  98. #. type: Content of: <sect1><sect2><para>
  99. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:63
  100. msgid "Prepare GMP for compilation:"
  101. msgstr "准备编译 GMP:"
  102. #. type: Content of: <sect1><sect2><screen>
  103. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:65
  104. #, no-wrap
  105. msgid ""
  106. "<userinput remap=\"configure\">./configure --prefix=/usr \\\n"
  107. " --enable-cxx \\\n"
  108. " --disable-static \\\n"
  109. " --docdir=/usr/share/doc/gmp-&gmp-version;</userinput>"
  110. msgstr ""
  111. "<userinput remap=\"configure\">./configure --prefix=/usr \\\n"
  112. " --enable-cxx \\\n"
  113. " --disable-static \\\n"
  114. " --docdir=/usr/share/doc/gmp-&gmp-version;</userinput>"
  115. #. type: Content of: <sect1><sect2><variablelist><title>
  116. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:71
  117. msgid "The meaning of the new configure options:"
  118. msgstr "新的配置选项的含义:"
  119. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  120. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:74
  121. msgid "<parameter>--enable-cxx</parameter>"
  122. msgstr "<parameter>--enable-cxx</parameter>"
  123. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  124. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:76
  125. msgid "This parameter enables C++ support"
  126. msgstr "该参数启用 C++ 支持"
  127. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  128. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:81
  129. msgid "<parameter>--docdir=/usr/share/doc/gmp-&gmp-version;</parameter>"
  130. msgstr "<parameter>--docdir=/usr/share/doc/gmp-&gmp-version;</parameter>"
  131. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  132. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:83
  133. msgid "This variable specifies the correct place for the documentation."
  134. msgstr "该变量指定文档的正确位置"
  135. #. type: Content of: <sect1><sect2><para>
  136. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:90
  137. msgid "Compile the package and generate the HTML documentation:"
  138. msgstr "编译该软件包,并生成 HTML 文档:"
  139. #. type: Content of: <sect1><sect2><screen>
  140. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:92
  141. #, no-wrap
  142. msgid ""
  143. "<userinput remap=\"make\">make\n"
  144. "make html</userinput>"
  145. msgstr ""
  146. "<userinput remap=\"make\">make\n"
  147. "make html</userinput>"
  148. #. type: Content of: <sect1><sect2><important><para>
  149. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:96
  150. msgid ""
  151. "The test suite for GMP in this section is considered critical. Do not skip "
  152. "it under any circumstances."
  153. msgstr ""
  154. "我们认为,本节中 GMP 的测试套件被认为是关键的。无论如何都不要跳过测试过程。"
  155. #. type: Content of: <sect1><sect2><para>
  156. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:100
  157. msgid "Test the results:"
  158. msgstr "测试编译结果:"
  159. #. type: Content of: <sect1><sect2><screen>
  160. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:102
  161. #, no-wrap
  162. msgid "<userinput remap=\"test\">make check 2>&amp;1 | tee gmp-check-log</userinput>"
  163. msgstr "<userinput remap=\"test\">make check 2>&amp;1 | tee gmp-check-log</userinput>"
  164. #. type: Content of: <sect1><sect2><caution><para>
  165. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:104
  166. msgid ""
  167. "The code in gmp is highly optimized for the processor where it is built. "
  168. "Occasionally, the code that detects the processor misidentifies the system "
  169. "capabilities and there will be errors in the tests or other applications "
  170. "using the gmp libraries with the message \"Illegal instruction\". In this "
  171. "case, gmp should be reconfigured with the option --build=x86_64-unknown-"
  172. "linux-gnu and rebuilt."
  173. msgstr ""
  174. "GMP 中的代码是针对本机处理器高度优化的。在偶然情况下,检测处理器的代码会错误"
  175. "识别 CPU 的功能,导致测试套件或使用 GMP 的其他程序输出消息 “Illegal "
  176. "instruction” (非法指令)。如果发生这种情况,需要加入选项 --build=x86_64-"
  177. "unknown-linux-gnu 并重新构建 GMP。"
  178. #. type: Content of: <sect1><sect2><para>
  179. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:111
  180. msgid ""
  181. "Ensure that all 197 tests in the test suite passed. Check the results by "
  182. "issuing the following command:"
  183. msgstr "务必确认测试套件中的 197 个测试全部通过。运行以下命令检验结果:"
  184. #. type: Content of: <sect1><sect2><screen>
  185. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:114
  186. #, no-wrap
  187. msgid "<userinput remap=\"test\">awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log</userinput>"
  188. msgstr "<userinput remap=\"test\">awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log</userinput>"
  189. #. type: Content of: <sect1><sect2><para>
  190. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:116
  191. msgid "Install the package and its documentation:"
  192. msgstr "安装该软件包及其文档:"
  193. #. type: Content of: <sect1><sect2><screen>
  194. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:118
  195. #, no-wrap
  196. msgid ""
  197. "<userinput remap=\"install\">make install\n"
  198. "make install-html</userinput>"
  199. msgstr ""
  200. "<userinput remap=\"install\">make install\n"
  201. "make install-html</userinput>"
  202. #. type: Content of: <sect1><sect2><title>
  203. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:124
  204. msgid "Contents of GMP"
  205. msgstr "GMP 的内容"
  206. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  207. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:127
  208. msgid "Installed Libraries"
  209. msgstr "安装的库"
  210. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  211. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:128
  212. msgid "Installed directory"
  213. msgstr "安装的目录"
  214. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  215. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:131
  216. msgid "libgmp.so and libgmpxx.so"
  217. msgstr "libgmp.so 和 libgmpxx.so"
  218. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  219. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:132
  220. msgid "/usr/share/doc/gmp-&gmp-version;"
  221. msgstr "/usr/share/doc/gmp-&gmp-version;"
  222. #. type: Content of: <sect1><sect2><variablelist><bridgehead>
  223. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:137
  224. msgid "Short Descriptions"
  225. msgstr "简要描述"
  226. #. type: Content of: <sect1><sect2><variablelist>
  227. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:138
  228. msgid ""
  229. "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"
  230. msgstr ""
  231. "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"
  232. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  233. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:142
  234. msgid "<filename class=\"libraryfile\">libgmp</filename>"
  235. msgstr "<filename class=\"libraryfile\">libgmp</filename>"
  236. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  237. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:144
  238. msgid "Contains precision math functions"
  239. msgstr "包含任意精度数学函数"
  240. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  241. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:146
  242. msgid "libgmp"
  243. msgstr "libgmp"
  244. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  245. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:152
  246. msgid "<filename class=\"libraryfile\">libgmpxx</filename>"
  247. msgstr "<filename class=\"libraryfile\">libgmpxx</filename>"
  248. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  249. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:154
  250. msgid "Contains C++ precision math functions"
  251. msgstr "包含 C++ 任意精度数学函数"
  252. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  253. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:156
  254. msgid "libgmpxx"
  255. msgstr "libgmpxx"