[RFU] gmp-4.2.4-2 for cygwin 1.7

David Billinghurst dbcygwin@gmail.com
Mon Mar 2 11:49:00 GMT 2009


I have a build of gmp-4.2.4 for cygwin 1.7 available for upload.

This is the first build for cygwin-1.7.  There are a couple of changes 
from gmp-4.2.4-1 (for cygwin-1.5)

1) The DLL for C++ binding libgmpxx3 is in a separate sub-package
as we will need to bump the version number once g++-4 is the system 
compiler.  This establishes a legacy package for g++-3.

2) There are three patches from http://gmplib.org/

[2008-12-26] The function mpz_perfect_power_p does not work correctly 
for negative arguments, but rejects many negative perfect powers.

[2008-11-09] When calling mpf_set_str (perhaps indirectly via 
mpf_init_set_str or mpf_inp_str, or via the C++ interface) with the 
argument for the base set to 0, any exponent will be ignored. Patch

[2008-11-08] The mpf_eq function sometimes compares too few bits, not 
just too many (the latter is documented). This might lead to precision loss.

############################################################################

D=http://billinghurst.customer.netspace.net.au/cygwin-1.7

mkdir gmp
cd gmp
wget ${D}/gmp/gmp-4.2.4-2-src.tar.bz2
wget ${D}/gmp/gmp-4.2.4-2.tar.bz2
wget ${D}/gmp/setup.hint

mkdir libgmp-devel
cd libgmp-devel
wget ${D}/gmp/libgmp-devel/libgmp-devel-4.2.4-2.tar.bz2
wget ${D}/gmp/libgmp-devel/setup.hint
cd ..

mkdir libgmp3
wget ${D}/gmp/libgmp3/libgmp3-4.2.4-2.tar.bz2
wget ${D}/gmp/libgmp3/setup.hint
cd ..

mkdir libgmp3xx
wget ${D}/gmp/libgmp3xx/libgmp3xx-4.2.4-2.tar.bz2
wget ${D}/gmp/libgmp3xx/setup.hint
cd ../..



More information about the Cygwin-apps mailing list