know how to install GMP properly for usage by programs ?

From: Jasper (jasper_marzin_at_yahoo.com)
Date: 06/28/04


Date: 27 Jun 2004 19:18:05 -0700

Hello pythoners I followed the directions on how to install GNU GMP
for windows (below and on the URL)
http://www.cs.nyu.edu/exact/core/gmp/ and I don't notice any
performance gain..in Perl one is supposed to place this in the code:
use Math::BigFloat lib => 'GMP';

But I notice zero difference in calculation speed..I realize this is a
python board, but I am wondering if there is anyone who knows how to
verify installation, or any tricks to ensure the library is actually
being used, like executing the program in the GMP directory or
something.. any tips would be appreciated..
Thank you,
Jasper Marzin
******************
Installing GMP on Windows:
Install latest Cygwin. Make sure that you choose to install "gcc",
"m4" and "make" since the default installation doesn't include them.
Download latest GMP from GNU MP to ${gmp_download}.
Run "Cygwin Bash", unzip and untar GMP into ${gmp_build} using
following command:
  cd ${gmp_build}
  tar xzvf ${gmp_download}/gmp-x.x.x.tar.gz
Configure GMP for compilation:
  cd gmp-x.x.x
  ./configure --prefix=${gmp_install}
Build GMP:
  make
Install GMP header files and lib files:
  make install



Relevant Pages

  • Re: arbitrary precision arithmetic
    ... Only convert to a float when you want to check how places you've got ... I've been trying to build GMP 4.2.2 under Cygwin on Windows 2000 with ... When I first installed Cygwin, ... I knew to install all the languages, but tools like m4 and make ...
    (sci.math)
  • Re: know how to install GMP properly for usage by programs ?
    ... > Hello pythoners I followed the directions on how to install GNU GMP ... > for windows ... but my build of Perl is 5.8 built with VC++ 6. ...
    (comp.lang.python)
  • Not sure GNU GMP is working properly...any ideas
    ... I followed the directions on how to install GNU GMP for ... Installing GMP on Windows: ... Install latest Cygwin. ...
    (comp.lang.perl)
  • How to ensure proper install of GNU GMP on Windows ?
    ... I followed the directions on how to install GNU GMP for ... Installing GMP on Windows: ... Install latest Cygwin. ...
    (comp.lang.cpp)
  • Re: bignum library
    ... I need to say thanks Richard Heathfield for promptly ... after taking a look on the installation section of the GMP ... > install GMP on my system by using my MinGW GCC compiler. ... they might not take kindly to a Windows ...
    (alt.comp.lang.learn.c-cpp)