[C++] Redhat installation.

Christian P. MOMON cp.momon@ocmland.org
Wed, 25 Dec 2002 17:27:41 +0100


Hi,

  I find that GMP is a good project and that the results are impressing
then I say cheer to all those which took part in it.

  I am trying to use only the C++ GMP interface on my Redhat 8.0. There
are two rpm package for GMP:
gmp-4.1-4
gmp-devel-4.1-4

cpm@ocmland (17:21:00) ~ 19 > rpm -qil gmp
Name        : gmp                          Relocations: (not relocateable)
Version     : 4.1                               Vendor: Red Hat, Inc.
Release     : 4                             Build Date: Mon Jul  8 
22:20:35 2002Install date: Mon Nov  4 02:07:56 2002      Build Host: astest
Group       : System Environment/Libraries   Source RPM: gmp-4.1-4.src.rpm
Size        : 338193                           License: LGPL
Signature   : DSA/SHA1, Tue Sep  3 23:16:42 2002, Key ID 219180cddb42a60e
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.swox.com/gmp/
Summary     : A GNU arbitrary precision library.
Description :
The gmp package contains GNU MP, a library for arbitrary precision
arithmetic, signed integers operations, rational numbers and floating
point numbers. GNU MP is designed for speed, for both small and very
large operands. GNU MP is fast because it uses fullwords as the basic
arithmetic type, it uses fast algorithms, it carefully optimizes
assembly code for many CPUs' most common inner loops, and it generally
emphasizes speed over simplicity/elegance in its operations.

Install the gmp package if you need a fast arbitrary precision
library.
/usr/lib/libgmp.so.3
/usr/lib/libgmp.so.3.3.0
/usr/lib/libmp.so.3
/usr/lib/libmp.so.3.1.4
/usr/share/doc/gmp-4.1
/usr/share/doc/gmp-4.1/COPYING
/usr/share/doc/gmp-4.1/NEWS
/usr/share/doc/gmp-4.1/README
cpm@ocmland (17:21:19) ~ 20 > rpm -qil gmp-devel
Name        : gmp-devel                    Relocations: (not relocateable)
Version     : 4.1                               Vendor: Red Hat, Inc.
Release     : 4                             Build Date: Mon Jul  8 
22:20:35 2002Install date: Mon Nov  4 02:22:57 2002      Build Host: astest
Group       : Development/Libraries         Source RPM: gmp-4.1-4.src.rpm
Size        : 792225                           License: LGPL
Signature   : DSA/SHA1, Tue Sep  3 23:16:42 2002, Key ID 219180cddb42a60e
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.swox.com/gmp/
Summary     : Development tools for the GNU MP arbitrary precision library.
Description :
The static libraries, header files and documentation for using the GNU
MP arbitrary precision library in applications.

If you want to develop applications which will use the GNU MP library,
you'll need to install the gmp-devel package.  You'll also need to
install the gmp package.
/usr/include/gmp-mparam.h
/usr/include/gmp.h
/usr/include/mp.h
/usr/lib/libgmp.a
/usr/lib/libgmp.so
/usr/lib/libmp.a
/usr/lib/libmp.so
/usr/share/info/gmp.info-1.gz
/usr/share/info/gmp.info-2.gz
/usr/share/info/gmp.info-3.gz
/usr/share/info/gmp.info-4.gz
/usr/share/info/gmp.info-5.gz
/usr/share/info/gmp.info-6.gz
/usr/share/info/gmp.info-7.gz
/usr/share/info/gmp.info-8.gz
/usr/share/info/gmp.info.gz


It is really good but where is the C++ interface ?????
Certainly the --enable-cxx not used.
As i didn't know the gmp list, i did open a bug on redhat web site:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=80195

Now, you have information about it.

I hope the next release of the rpm packages will have the C++ interface
enable. Do you think it is a good way ?

Regards,

Cpm.
-- 
        __    __    __
  (o_  |     |__|  |  |         "CPM est Christian P. M____."    ('<
  /)   |__ . |   . |  | .           cp.momon@ocmland.org       ,',)