| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 | 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/libffi.xml:14#, no-wrapmsgid "&libffi-url;"msgstr "&libffi-url;"#. type: Content of: <sect1><sect1info>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:12msgid """<productname>libffi</productname> <productnumber>&libffi-version;</""productnumber> <placeholder type=\"address\" id=\"0\"/>"msgstr """<productname>libffi</productname> <productnumber>&libffi-version;</""productnumber> <placeholder type=\"address\" id=\"0\"/>"#. type: Content of: <sect1><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:17msgid "Libffi-&libffi-version;"msgstr "Libffi-&libffi-version;"#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:20#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:111msgid "libffi"msgstr "libffi"#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:26msgid """The Libffi library provides a portable, high level programming interface to ""various calling conventions. This allows a programmer to call any function ""specified by a call interface description at run time."msgstr """Libffi 库提供一个可移植的高级编程接口,用于处理不同调用惯例。这允许程序在运行""时调用任何给定了调用接口的函数。"#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:31msgid "&buildtime;"msgstr "&buildtime;"#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:32msgid "&diskspace;"msgstr "&diskspace;"#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:35msgid "&libffi-fin-sbu;"msgstr "&libffi-fin-sbu;"#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:36msgid "&libffi-fin-du;"msgstr "&libffi-fin-du;"#. type: Content of: <sect1><sect2><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:43msgid "Installation of Libffi"msgstr "安装 Libffi"#. type: Content of: <sect1><sect2><note><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:46msgid """Similar to GMP, libffi builds with optimizations specific to the proccesor ""in use. If building for another system, export CFLAGS and CXXFLAGS to ""specify a generic build for your architecture.  If this is not done, all ""applications that link to libffi will trigger Illegal Operation Errors."msgstr """和 GMP 类似,libffi 在构建时会使用特定于当前处理器的优化。如果是在为另一台计""算机构建系统,请导出 CFLAGS 和 CXXFLAGS 环境变量,为您的架构指定较为通用的构""建目标。否则,所有链接到 libffi 的程序都可能触发非法指令异常。"#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:53msgid "Prepare libffi for compilation:"msgstr "准备编译 libffi:"#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:55#, no-wrapmsgid "<userinput remap=\"configure\">./configure --prefix=/usr --disable-static --with-gcc-arch=native</userinput>"msgstr "<userinput remap=\"configure\">./configure --prefix=/usr --disable-static --with-gcc-arch=native</userinput>"#. type: Content of: <sect1><sect2><variablelist><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:58msgid "The meaning of the configure option:"msgstr "配置选项的含义:"#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:61msgid "<parameter>--with-gcc-arch=native</parameter>"msgstr "<parameter>--with-gcc-arch=native</parameter>"#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:63msgid """Ensure GCC optimizes for the current system.  If this is not specified, the ""system is guessed and the code generated may not be correct for some ""systems.  If the generated code will be copied from the native system to a ""less capable system, use the less capable system as a parameter. For details ""about alternative system types, see <ulink url='https://gcc.gnu.org/""onlinedocs/gcc-&gcc-version;/gcc/x86-Options.html'> the x86 options in the ""GCC manual</ulink>."msgstr """保证 gcc 为当前系统进行优化。如果不使用该选项,构建系统会猜测系统架构,在""某些系统上可能生成不正确的代码。如果要将生成的代码从本地系统复制到指令集功""能较弱的系统中,需要使用目标系统架构作为该选项的参数值。关于不同系统架构的信""息,参阅 <ulink url='https://gcc.gnu.org/onlinedocs/gcc-&gcc-version;/gcc/""x86-Options.html'>gcc 手册中提供的的 x86 选项</ulink>。"#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:76msgid "Compile the package:"msgstr "编译该软件包:"#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:78#, no-wrapmsgid "<userinput remap=\"make\">make</userinput>"msgstr "<userinput remap=\"make\">make</userinput>"#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:80msgid "To test the results, issue:"msgstr "运行以下命令以测试编译结果:"#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:82#, no-wrapmsgid "<userinput remap=\"test\">make check</userinput>"msgstr "<userinput remap=\"test\">make check</userinput>"#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:84msgid "Install the package:"msgstr "安装该软件包:"#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:86#, no-wrapmsgid "<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/libffi.xml:91msgid "Contents of Libffi"msgstr "Libffi 的内容"#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:94msgid "Installed library"msgstr "安装的库"#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:97msgid "libffi.so"msgstr "libffi.so"#. type: Content of: <sect1><sect2><variablelist><bridgehead>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:102msgid "Short Descriptions"msgstr "简要描述"#. type: Content of: <sect1><sect2><variablelist>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:103msgid """<?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/libffi.xml:107msgid "<filename class=\"libraryfile\">libffi</filename>"msgstr "<filename class=\"libraryfile\">libffi</filename>"#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libffi.xml:109msgid "contains the libffi API functions."msgstr "包含 libffi API 函数"
 |