MPFR: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
./configure --prefix=/usr --enable-shared && | ./configure --prefix=/usr --enable-shared && | ||
make | make | ||
Install the package: | Install the package: | ||
| Line 82: | Line 76: | ||
make | make | ||
Install the package: | |||
make | make install | ||
== Documentation == | |||
Create the directory that the documentation will be installed into: | |||
install -d -v -m755 /usr/share/doc/mpfr-2.2.0 | |||
==== DVI ==== | |||
make dvi && | |||
install -v -m644 mpfr.dvi /usr/share/doc/mpfr-2.2.0 | |||
==== PS ==== | |||
make mpfr.ps && | |||
install -v -m644 mpfr.ps /usr/share/doc/mpfr-2.2.0 | |||
==== PDF ==== | |||
make install | make pdf && | ||
install -v -m644 mpfr.pdf /usr/share/doc/mpfr-2.2.0 | |||
== Contents == | == Contents == | ||
Revision as of 14:31, 6 November 2006
| Download Source: | http://www.mpfr.org/mpfr-current/mpfr-2.2.0.tar.bz2 |
|---|---|
| Download Patch: | http://svn.cross-lfs.org/svn/repos/patches/mpfr/mpfr-2.2.0-cumulative_patch-1.patch |
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 ../mpfr-2.2.0-cumulative_patch-1.patch
Compile the package:
./configure --prefix=/usr --enable-shared && make
Install the package:
make install
Multilib
32Bit
Apply the cumulative patch from the MPFR Organization:
patch -Np1 -i ../mpfr-2.2.0-cumulative_patch-1.patch
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr \
--enable-shared &&
make
Install the package:
make install
N32
Apply the cumulative patch from the MPFR Organization:
patch -Np1 -i ../mpfr-2.2.0-cumulative_patch-1.patch
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
--libdir=/usr/lib32 --enable-shared &&
make
Install the package:
make install
64Bit
Apply the cumulative patch from the MPFR Organization:
patch -Np1 -i ../mpfr-2.2.0-cumulative_patch-1.patch
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.2.0
DVI
make dvi && install -v -m644 mpfr.dvi /usr/share/doc/mpfr-2.2.0
PS
make mpfr.ps && install -v -m644 mpfr.ps /usr/share/doc/mpfr-2.2.0
make pdf && install -v -m644 mpfr.pdf /usr/share/doc/mpfr-2.2.0