浏览代码

Upgrade to MPFR-3.0.0. Fixes #2687.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9309 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 15 年之前
父节点
当前提交
ea5c1d17a8
共有 6 个文件被更改,包括 35 次插入9 次删除
  1. 10 0
      chapter01/changelog.xml
  2. 2 2
      chapter01/whatsnew.xml
  3. 16 1
      chapter05/gcc-pass1.xml
  4. 2 1
      chapter05/gcc-pass2.xml
  5. 2 2
      general.ent
  6. 3 3
      packages.ent

+ 10 - 0
chapter01/changelog.xml

@@ -36,6 +36,16 @@
     </listitem>
 
 -->
+    <listitem>
+      <para>2010-06-22</para>
+      <itemizedlist>
+         <listitem>
+           <para>[matthew] - Upgrade to MPFR-3.0.0.  Fixes
+           <ulink url="&lfs-ticket-root;2687">#2687</ulink>.</para>
+         </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2010-06-21</para>
       <itemizedlist>

+ 2 - 2
chapter01/whatsnew.xml

@@ -142,9 +142,9 @@
     <listitem>
       <para>MPC &mpc-version;</para>
     </listitem>
-    <!--<listitem>
+    <listitem>
       <para>MPFR &mpfr-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Ncurses &ncurses-version;</para>
     </listitem>-->

+ 16 - 1
chapter05/gcc-pass1.xml

@@ -67,7 +67,8 @@ cd ../gcc-build</userinput></screen>
     --disable-nls --disable-shared --disable-multilib \
     --disable-decimal-float --disable-threads \
     --disable-libmudflap --disable-libssp \
-    --disable-libgomp --enable-languages=c</userinput></screen>
+    --disable-libgomp --enable-languages=c \
+    --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure options:</title>
@@ -107,6 +108,20 @@ cd ../gcc-build</userinput></screen>
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><parameter>--with-gmp-include=...</parameter></term>
+        <listitem>
+          <para>This option tells GCC where the GMP headers are located.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><parameter>--with-gmp-lib=...</parameter></term>
+        <listitem>
+          <para>This option tells GCC where the GMP library is located.</para>
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <para>Compile GCC by running:</para>

+ 2 - 1
chapter05/gcc-pass2.xml

@@ -156,7 +156,8 @@ cd ../gcc-build</userinput></screen>
     --enable-shared --enable-threads=posix \
     --enable-__cxa_atexit --enable-languages=c,c++ \
     --disable-libstdcxx-pch --disable-multilib \
-    --disable-bootstrap</userinput></screen>
+    --disable-bootstrap \
+    --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs</userinput></screen>
 
     <variablelist>
       <title>The meaning of the new configure options:</title>

+ 2 - 2
general.ent

@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20100621">
-<!ENTITY releasedate "June 21, 2010">
+<!ENTITY version "SVN-20100622">
+<!ENTITY releasedate "June 22, 2010">
 <!ENTITY copyrightdate "1999-2010"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone "6.7">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

+ 3 - 3
packages.ent

@@ -375,10 +375,10 @@
 <!ENTITY mpc-ch6-du "10.5 MB testsuite included">
 <!ENTITY mpc-ch6-sbu "0.3 SBU testsuite included">
 
-<!ENTITY mpfr-version "2.4.2">
-<!ENTITY mpfr-size "1,053 KB">
+<!ENTITY mpfr-version "3.0.0">
+<!ENTITY mpfr-size "1,112 KB">
 <!ENTITY mpfr-url "http://www.mpfr.org/mpfr-&mpfr-version;/mpfr-&mpfr-version;.tar.bz2">
-<!ENTITY mpfr-md5 "89e59fe665e2b3ad44a6789f40b059a0">
+<!ENTITY mpfr-md5 "f45bac3584922c8004a10060ab1a8f9f">
 <!ENTITY mpfr-home "http://www.mpfr.org/">
 <!ENTITY mpfr-ch5-du "27.1 MB">
 <!ENTITY mpfr-ch5-sbu "1.0 SBU">