MPFR: Difference between revisions
From CBLFS
Jump to navigationJump to search
Weibullguy (talk | contribs) Added page. |
No edit summary |
||
| Line 19: | Line 19: | ||
Apply the cumulative patch from the MPFR Organization: | Apply the cumulative patch from the MPFR Organization: | ||
patch -Np1 -i ../patches | |||
Compile the package: | Compile the package: | ||
./configure --prefix=/usr && | |||
make | |||
Build the optional documentation in one or more formats: | Build the optional documentation in one or more formats: | ||
make info to produce in the info format | |||
make dvi to produce in the DVI format | |||
make mpfr.ps to produce in the Postscript format | |||
Install the package: | Install the package: | ||
make install | |||
== Multilib == | == Multilib == | ||
| Line 42: | Line 42: | ||
Apply the cumulative patch from the MPFR Organization: | Apply the cumulative patch from the MPFR Organization: | ||
patch -Np1 -i ../patches | |||
Compile the package: | Compile the package: | ||
CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/usr/lib && | |||
make | |||
Install the package: | Install the package: | ||
make install | |||
=== N32 === | === N32 === | ||
Apply the cumulative patch from the MPFR Organization: | |||
patch -Np1 -i ../patches | |||
Compile the package: | Compile the package: | ||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && | |||
make | |||
Install the package: | Install the package: | ||
make install | |||
=== 64Bit === | === 64Bit === | ||
| Line 63: | Line 72: | ||
Apply the cumulative patch from the MPFR Organization: | Apply the cumulative patch from the MPFR Organization: | ||
patch -Np1 -i ../patches | |||
Compile the package: | Compile the package: | ||
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && | |||
make | |||
Build the optional documentation in one or more formats: | Build the optional documentation in one or more formats: | ||
make info to produce in the info format | |||
make dvi to produce in the DVI format | |||
make mpfr.ps to produce in the Postscript format | |||
Install the package: | Install the package: | ||
make install | |||
== Contents == | == Contents == | ||
Revision as of 14:04, 6 November 2006
| Download Source: | http://www.mpfr.org/mpfr-current/mpfr-2.2.0.tar.bz2 |
|---|---|
| Download Patch: | http://www.mpfr.org/mpfr-current/patches |
The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding).
Dependencies
Required
Non-Multilib
Apply the cumulative patch from the MPFR Organization:
patch -Np1 -i ../patches
Compile the package:
./configure --prefix=/usr && make
Build the optional documentation in one or more formats:
make info to produce in the info format make dvi to produce in the DVI format make mpfr.ps to produce in the Postscript format
Install the package:
make install
Multilib
32Bit
Apply the cumulative patch from the MPFR Organization:
patch -Np1 -i ../patches
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/usr/lib &&
make
Install the package:
make install
N32
Apply the cumulative patch from the MPFR Organization:
patch -Np1 -i ../patches
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make
Install the package:
make install
64Bit
Apply the cumulative patch from the MPFR Organization:
patch -Np1 -i ../patches
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make
Build the optional documentation in one or more formats:
make info to produce in the info format make dvi to produce in the DVI format make mpfr.ps to produce in the Postscript format
Install the package:
make install