creatingtoolsdir.po 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the PACKAGE package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: PACKAGE VERSION\n"
  10. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Content of: <sect1><title>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:11
  20. msgid "Creating the $LFS/tools Directory"
  21. msgstr ""
  22. #. type: Content of: <sect1><para>
  23. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:13
  24. msgid ""
  25. "All programs compiled in <xref linkend=\"chapter-temporary-tools\"/> will be "
  26. "installed under <filename class=\"directory\">$LFS/tools</filename> to keep "
  27. "them separate from the programs compiled in <xref "
  28. "linkend=\"chapter-building-system\"/>. The programs compiled here are "
  29. "temporary tools and will not be a part of the final LFS system. By keeping "
  30. "these programs in a separate directory, they can easily be discarded later "
  31. "after their use. This also prevents these programs from ending up in the "
  32. "host production directories (easy to do by accident in <xref "
  33. "linkend=\"chapter-temporary-tools\"/>)."
  34. msgstr ""
  35. #. type: Content of: <sect1><para>
  36. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:23
  37. msgid ""
  38. "Create the required directory by running the following as <systemitem "
  39. "class=\"username\">root</systemitem>:"
  40. msgstr ""
  41. #. type: Content of: <sect1><screen>
  42. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:26
  43. #, no-wrap
  44. msgid "<userinput>mkdir -v $LFS/tools</userinput>"
  45. msgstr ""
  46. #. type: Content of: <sect1><para>
  47. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:28
  48. msgid ""
  49. "The next step is to create a <filename class=\"symlink\">/tools</filename> "
  50. "symlink on the host system. This will point to the newly-created directory "
  51. "on the LFS partition. Run this command as <systemitem "
  52. "class=\"username\">root</systemitem> as well:"
  53. msgstr ""
  54. #. type: Content of: <sect1><screen>
  55. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:33
  56. #, no-wrap
  57. msgid "<userinput>ln -sv $LFS/tools /</userinput>"
  58. msgstr ""
  59. #. type: Content of: <sect1><note><para>
  60. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:36
  61. msgid ""
  62. "The above command is correct. The <command>ln</command> command has a few "
  63. "syntactic variations, so be sure to check <command>info coreutils "
  64. "ln</command> and <filename>ln(1)</filename> before reporting what you may "
  65. "think is an error."
  66. msgstr ""
  67. #. type: Content of: <sect1><para>
  68. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:42
  69. msgid ""
  70. "The created symlink enables the toolchain to be compiled so that it always "
  71. "refers to <filename class=\"directory\">/tools</filename>, meaning that the "
  72. "compiler, assembler, and linker will work both in Chapter&nbsp;5 (when we "
  73. "are still using some tools from the host) and in the next (when we are "
  74. "<quote>chrooted</quote> to the LFS partition)."
  75. msgstr ""