C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to ensure proper install of GNU GMP on Windows ?

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Jasper
Guest





PostPosted: Mon Jun 28, 2004 2:19 am    Post subject: How to ensure proper install of GNU GMP on Windows ? Reply with quote



Hello c++'ers, 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
C++ 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
Back to top
Thomas Matthews
Guest





PostPosted: Mon Jun 28, 2004 1:21 pm    Post subject: Re: How to ensure proper install of GNU GMP on Windows ? Reply with quote



Jasper wrote:

Quote:
Hello c++'ers, 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';
[snip]


Quote:

Thank you,
Jasper Marzin

Your issue has nothing to do with the _standard_ C++ language.
I suggest you try asking down the street in a GNU newsgroup.
Read the Welcome.txt and FAQ below for a list of newsgroups.


--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book


Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.