# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy 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: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: Content of:
#: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:14 #, no-wrap msgid "&gmp-url;" msgstr "" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:12 msgid "" "gmp &gmp-version; " "" msgstr "" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:17 msgid "GMP-&gmp-version;" msgstr "" #. type: Content of: <sect1><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:20 msgid "GMP" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:26 msgid "" "The GMP package contains math libraries. These have useful functions for " "arbitrary precision arithmetic." msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:30 msgid "&buildtime;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:31 msgid "&diskspace;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:34 msgid "&gmp-fin-sbu;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:35 msgid "&gmp-fin-du;" msgstr "" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:42 msgid "Installation of GMP" msgstr "" #. type: Content of: <sect1><sect2><note><para><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:50 #, no-wrap msgid "<userinput><parameter>ABI=32</parameter> ./configure ...</userinput>" msgstr "" #. type: Content of: <sect1><sect2><note><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:45 msgid "" "If you are building for 32-bit x86, but you have a CPU which is capable of " "running 64-bit code <emphasis>and</emphasis> you have specified " "<envar>CFLAGS</envar> in the environment, the configure script will attempt " "to configure for 64-bits and fail. Avoid this by invoking the configure " "command below with <placeholder type=\"screen\" id=\"0\"/>" msgstr "" #. type: Content of: <sect1><sect2><note><para><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:59 #, no-wrap msgid "" "<userinput>cp -v configfsf.guess config.guess\n" "cp -v configfsf.sub config.sub</userinput>" msgstr "" #. type: Content of: <sect1><sect2><note><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:54 msgid "" "The default settings of GMP produce libraries optimized for the host " "processor. If libraries suitable for processors less capable than the " "host's CPU are desired, generic libraries can be created by running the " "following: <placeholder type=\"screen\" id=\"0\"/>" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:63 msgid "Prepare GMP for compilation:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:65 #, no-wrap msgid "" "<userinput remap=\"configure\">./configure --prefix=/usr \\\n" " --enable-cxx \\\n" " --disable-static \\\n" " --docdir=/usr/share/doc/gmp-&gmp-version;</userinput>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:71 msgid "The meaning of the new configure options:" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:74 msgid "<parameter>--enable-cxx</parameter>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:76 msgid "This parameter enables C++ support" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:81 msgid "<parameter>--docdir=/usr/share/doc/gmp-&gmp-version;</parameter>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:83 msgid "This variable specifies the correct place for the documentation." msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:90 msgid "Compile the package and generate the HTML documentation:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:92 #, no-wrap msgid "" "<userinput remap=\"make\">make\n" "make html</userinput>" msgstr "" #. type: Content of: <sect1><sect2><important><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:96 msgid "" "The test suite for GMP in this section is considered critical. Do not skip " "it under any circumstances." msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:100 msgid "Test the results:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:102 #, no-wrap msgid "" "<userinput remap=\"test\">make check 2>&1 | tee " "gmp-check-log</userinput>" msgstr "" #. type: Content of: <sect1><sect2><caution><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:104 msgid "" "The code in gmp is highly optimized for the processor where it is " "built. Occasionally, the code that detects the processor misidentifies the " "system capabilities and there will be errors in the tests or other " "applications using the gmp libraries with the message \"Illegal " "instruction\". In this case, gmp should be reconfigured with the option " "--build=x86_64-unknown-linux-gnu and rebuilt." msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:111 msgid "" "Ensure that all 197 tests in the test suite passed. Check the results by " "issuing the following command:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:114 #, no-wrap msgid "" "<userinput remap=\"test\">awk '/# PASS:/{total+=$3} ; END{print total}' " "gmp-check-log</userinput>" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:116 msgid "Install the package and its documentation:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:118 #, no-wrap msgid "" "<userinput remap=\"install\">make install\n" "make install-html</userinput>" msgstr "" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:124 msgid "Contents of GMP" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:127 msgid "Installed Libraries" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:128 msgid "Installed directory" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:131 msgid "libgmp.so and libgmpxx.so" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:132 msgid "/usr/share/doc/gmp-&gmp-version;" msgstr "" #. type: Content of: <sect1><sect2><variablelist><bridgehead> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:137 msgid "Short Descriptions" msgstr "" #. type: Content of: <sect1><sect2><variablelist> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:138 msgid "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:142 msgid "<filename class=\"libraryfile\">libgmp</filename>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:144 msgid "Contains precision math functions" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:146 msgid "libgmp" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:152 msgid "<filename class=\"libraryfile\">libgmpxx</filename>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:154 msgid "Contains C++ precision math functions" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/gmp.xml:156 msgid "libgmpxx" msgstr ""