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 \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:
#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:14 #, no-wrap msgid "&bison-url;" msgstr "&bison-url;" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:12 msgid "" "bison &bison-version; " msgstr "" "bison &bison-version; " #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:17 msgid "Bison-&bison-version;" msgstr "Bison-&bison-version;" #. type: Content of: <sect1><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:20 msgid "Bison" msgstr "Bison" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:26 msgid "The Bison package contains a parser generator." msgstr "Bison 软件包包含语法分析器生成器。" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:29 msgid "&buildtime;" msgstr "&buildtime;" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:30 msgid "&diskspace;" msgstr "&diskspace;" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:33 msgid "&bison-fin-sbu;" msgstr "&bison-fin-sbu;" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:34 msgid "&bison-fin-du;" msgstr "&bison-fin-du;" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:41 msgid "Installation of Bison" msgstr "安装 Bison" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:43 msgid "Prepare Bison for compilation:" msgstr "准备编译 Bison:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:45 #, no-wrap msgid "<userinput remap=\"configure\">./configure --prefix=/usr --docdir=/usr/share/doc/bison-&bison-version;</userinput>" msgstr "<userinput remap=\"configure\">./configure --prefix=/usr --docdir=/usr/share/doc/bison-&bison-version;</userinput>" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:47 msgid "Compile the package:" msgstr "编译该软件包:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:49 #, no-wrap msgid "<userinput remap=\"make\">make</userinput>" msgstr "<userinput remap=\"make\">make</userinput>" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:51 msgid "" "The tests are known to fail using multiple processors. To test the results " "(about 5.5 SBU), issue:" msgstr "" "已知测试在使用多个处理器时可能失败。如果要测试编译结果 (需要约 5.5 SBU)," "运行命令:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:54 #, no-wrap msgid "<userinput remap=\"test\">make -j1 check</userinput>" msgstr "<userinput remap=\"make\">make -j1 check</userinput>" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:56 msgid "Install the package:" msgstr "安装该软件包:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:58 #, no-wrap msgid "<userinput remap=\"install\">make install</userinput>" msgstr "<userinput remap=\"install\">make install</userinput>" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:63 msgid "Contents of Bison" msgstr "Bison 的内容" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:66 msgid "Installed programs" msgstr "安装的程序" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:67 msgid "Installed library" msgstr "安装的库" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:68 msgid "Installed directory" msgstr "安装的目录" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:71 msgid "bison and yacc" msgstr "bison 和 yacc" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:72 msgid "liby.a" msgstr "liby.a" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:73 msgid "/usr/share/bison" msgstr "/usr/share/bison" #. type: Content of: <sect1><sect2><variablelist><bridgehead> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:78 msgid "Short Descriptions" msgstr "简要描述" #. type: Content of: <sect1><sect2><variablelist> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:79 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> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:83 msgid "<command>bison</command>" msgstr "<command>bison</command>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:85 msgid "" "Generates, from a series of rules, a program for analyzing the structure of " "text files; Bison is a replacement for Yacc (Yet Another Compiler Compiler)" msgstr "" "根据一组规则,创建一个用于分析文本文件结构的程序;Bison 是 Yacc (Yet " "Another Compiler Compiler) 的替代品。" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:89 msgid "bison" msgstr "bison" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:95 msgid "<command>yacc</command>" msgstr "<command>yacc</command>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:97 msgid "" "A wrapper for <command>bison</command>, meant for programs that still call " "<command>yacc</command> instead of <command>bison</command>; it calls " "<command>bison</command> with the <parameter>-y</parameter> option" msgstr "" "<command>bison</command> 的一个封装器,被那些仍然调用 <command>yacc</" "command> 而非 <command>bison</command> 的程序使用,它调用 <command>bison</" "command> 时附加 <parameter>-y</parameter> 选项。" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:102 msgid "yacc" msgstr "yacc" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:108 msgid "<filename class=\"libraryfile\">liby</filename>" msgstr "<filename class=\"libraryfile\">liby</filename>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:110 msgid "" "The Yacc library containing implementations of Yacc-compatible " "<function>yyerror</function> and <function>main</function> functions; this " "library is normally not very useful, but POSIX requires it" msgstr "" "Yacc 库包含与 Yacc 兼容的 <function>yyerror</function> 和 <function>main</" "function> 函数实现;它并不是很有用,但 POSIX 需要它" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/bison.xml:114 msgid "liby" msgstr "liby"