Package : perl-Alien-GMP

Package details

Summary: Alien package for the GNU Multiple Precision library

Description:
This distribution installs GMP so that it can be used by other Perl
distributions. If already installed for your operating system, and it can
be found, this distribution will use the GMP that comes with your operating
system, otherwise it will download it from the Internet, build and install
it for you.

C++ support
This Alien will provide the C++ bindings for GMP (libgmpxx) if
possible. If you do not have a C++ compiler, or if your operating
system vendor provides a GMP package without the needed C++ files then
it will not be available. To use the C++ bindings, you can use the
'alt' method to create a C++ instance of this GMP Alien. For example:

use ExtUtils::MakeMaker;
use Config;
use Alien::GMP;

WriteMakefile(
...
CONFIGURE_REQUIRES => {
'Alien::GMP' => '1.06', # require version that provides C++ bindings
},
CCFLAGS => Alien::GMP->alt('gmpxx')->cflags . " $Config{ccflags}",
LIBS => [ Alien::GMP->alt('gmpxx')->libs ],
...
);


URL: http://metacpan.org/release/Alien-GMP
License: GPLv1+ or Artistic

Maintainer: nobody

List of RPMs