architecture.po 4.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. msgid ""
  2. msgstr ""
  3. "Project-Id-Version: PACKAGE VERSION\n"
  4. "POT-Creation-Date: 2020-08-08 19:28+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><title>
  14. msgid "LFS Target Architectures"
  15. msgstr "LFS 的目标架构"
  16. #. type: Content of: <sect1><para>
  17. msgid ""
  18. "The primary target architectures of LFS are the AMD/Intel x86 (32-bit) and "
  19. "x86_64 (64-bit) CPUs. On the other hand, the instructions in this book are "
  20. "also known to work, with some modifications, with the Power PC and ARM CPUs. "
  21. "To build a system that utilizes one of these CPUs, the main prerequisite, in "
  22. "addition to those on the next page, is an existing Linux system such as an "
  23. "earlier LFS installation, Ubuntu, Red Hat/Fedora, SuSE, or other "
  24. "distribution that targets the architecture that you have. Also note that a "
  25. "32-bit distribution can be installed and used as a host system on a 64-bit "
  26. "AMD/Intel computer."
  27. msgstr ""
  28. "LFS 的主要目标架构是 AMD/Intel 的 x86 (32 位) 和 x86_64 (64 位) CPU。此外,如"
  29. "果对本书中的一些指令作适当的修改,它们也应该适用于 Power PC 和 ARM 架构的 "
  30. "CPU。无论在其中哪种 CPU 上,构建 LFS 都至少需要一个现有的 Linux 系统,例如已"
  31. "经构建好的 LFS 系统,Ubuntu,Rad Hat/Fedora,SuSE,或者其他支持您的硬件架构的"
  32. "发行版,后文中还会介绍其他前提条件。另外,32 位发行版也能在 64 位的 AMD/"
  33. "Intel 计算机上正常运行,并作为 LFS 的构建环境。"
  34. #. type: Content of: <sect1><para>
  35. msgid ""
  36. "For building LFS, the gain of building on a 64-bit system compared to a 32-"
  37. "bit system is minimal. For example, in a test build of LFS-9.1 on a Core "
  38. "i7-4790 CPU based system, using 4 cores, the following statistics were "
  39. "measured:"
  40. msgstr ""
  41. "对于构建 LFS 来说,构建 64 位系统相较于 32 位系统而言只会获得很小的收益。例"
  42. "如,在使用安装了 Core i7-4790 CPU 的系统测试构建 LFS-9.1 时,我们得到的实验数"
  43. "据为:"
  44. #. type: Content of: <sect1><screen>
  45. #, no-wrap
  46. msgid ""
  47. "<computeroutput>Architecture Build Time Build Size\n"
  48. "32-bit 239.9 minutes 3.6 GB\n"
  49. "64-bit 233.2 minutes 4.4 GB</computeroutput>"
  50. msgstr ""
  51. "<computeroutput>架构 构建时间 系统大小\n"
  52. "32 位 239.9 分钟 3.6 GB\n"
  53. "64 位 233.2 分钟 4.4 GB</computeroutput>"
  54. #. type: Content of: <sect1><para>
  55. msgid ""
  56. "As you can see, on the same hardware, the 64-bit build is only 3% faster and "
  57. "is 22% larger than the 32-bit build. If you plan to use LFS as a LAMP "
  58. "server, or a firewall, a 32-bit CPU may be largely sufficient. On the other "
  59. "hand, several packages in BLFS now need more than 4GB of RAM to be built and/"
  60. "or to run, so that if you plan to use LFS as a desktop, the LFS authors "
  61. "recommend building on a 64-bit system."
  62. msgstr ""
  63. "可以看出,在相同的硬件上,64 位系统的构建仅仅比 32 位快 3%,但占用的磁盘空间"
  64. "却比 32 位系统大 22%。如果您准备用 LFS 系统运行 LAMP 服务器,或者防火墙,那"
  65. "么 32 位 CPU 足以满足需求。然而,BLFS 中的一些软件包在构建或运行过程中可能需"
  66. "要超过 4GB 的内存,因此如果您准备将 LFS 作为桌面系统,LFS 作者推荐构建 64 位"
  67. "系统。"
  68. #. type: Content of: <sect1><para>
  69. msgid ""
  70. "The default 64-bit build that results from LFS is considered a <quote>pure</"
  71. "quote> 64-bit system. That is, it supports 64-bit executables only. Building "
  72. "a <quote>multi-lib</quote> system requires compiling many applications "
  73. "twice, once for a 32-bit system and once for a 64-bit system. This is not "
  74. "directly supported in LFS because it would interfere with the educational "
  75. "objective of providing the instructions needed for a straightforward base "
  76. "Linux system. Some LFS/BLFS editors maintain a fork of LFS for multilib, "
  77. "which is accessible at <ulink url=\"http://www.linuxfromscratch.org/~thomas/"
  78. "multilib/index.html\"/>. But it is an advanced topic."
  79. msgstr ""
  80. "完全按照本书构建的 LFS 系统是一个<quote>纯粹的</quote> 64 位系统。换句话说,"
  81. "它只能运行 64 位可执行程序。构建一个<quote>multi-lib</quote> 系统需要将许多应"
  82. "用程序编译两次,一次编译为 32 位,另一次编译为 64 位。本书不提供这方面的内"
  83. "容,因为本书的教学目的是提供简洁的基本 Linux 系统的构建方法,讨论 multilib 会"
  84. "和这一目标发生冲突。一些 LFS/BLFS 编辑维护了 LFS 的 multilib 版本,可以在 "
  85. "<ulink url=\"http://www.linuxfromscratch.org/~thomas/multilib/index.html\"/> "
  86. "查阅。但这是一个比较复杂的主题。"