Difference between revisions of "MPFR"
From CBLFS
Jump to navigationJump to searchm (... and fix my last edit. Damn, I'm just that bad.) |
|||
Line 5: | Line 5: | ||
|} | |} | ||
− | + | {{Package Introduction|The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding).}} | |
− | |||
− | The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding). | ||
== Dependencies == | == Dependencies == |
Revision as of 12:48, 16 April 2007
Download Source: | http://www.mpfr.org/mpfr-2.4.1/mpfr-2.4.1.tar.bz2 |
---|
Contents
Dependencies
Required
- GMP >= 4.1.0
Non-Multilib
Compile the package:
./configure --prefix=/usr --enable-shared && make
Install the package:
make install
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr \ --enable-shared && make
Install the package:
make install
N32
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ --libdir=/usr/lib32 --enable-shared && make
Install the package:
make install
64Bit
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --libdir=/usr/lib64 --enable-shared && make
Install the package:
make install
Documentation
Create the directory that the documentation will be installed into:
install -d -v -m755 /usr/share/doc/mpfr-2.4.1
DVI
make dvi && install -v -m644 mpfr.dvi /usr/share/doc/mpfr-2.4.1
PS
make mpfr.ps && install -v -m644 mpfr.ps /usr/share/doc/mpfr-2.4.1
make pdf && install -v -m644 mpfr.pdf /usr/share/doc/mpfr-2.4.1
Contents
- Installed Libraries: libmpfr.{la,a,so,so.1,so.1.0.1}