MPFR: Difference between revisions
From CBLFS
Jump to navigationJump to search
Weibullguy (talk | contribs) mNo edit summary |
mNo edit summary |
||
| Line 3: | Line 3: | ||
!Download Source: | !Download Source: | ||
| http://www.mpfr.org/mpfr-current/mpfr-{{MPFR-Version}}.tar.bz2 | | http://www.mpfr.org/mpfr-current/mpfr-{{MPFR-Version}}.tar.bz2 | ||
|} | |} | ||
| Line 19: | Line 16: | ||
Apply the upstream cumulative patch and compile the package: | Apply the upstream cumulative patch and compile the package: | ||
./configure --prefix=/usr --enable-shared && | ./configure --prefix=/usr --enable-shared && | ||
make | make | ||
| Line 33: | Line 29: | ||
Apply the upstream cumulative patch and compile the package: | Apply the upstream cumulative patch and compile the package: | ||
CC="gcc ${BUILD32}" ./configure --prefix=/usr \ | CC="gcc ${BUILD32}" ./configure --prefix=/usr \ | ||
--enable-shared && | --enable-shared && | ||
| Line 46: | Line 41: | ||
Apply the upstream cumulative patch and compile the package: | Apply the upstream cumulative patch and compile the package: | ||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | ||
--libdir=/usr/lib32 --enable-shared && | --libdir=/usr/lib32 --enable-shared && | ||
| Line 59: | Line 53: | ||
Apply the upstream cumulative patch and compile the package: | Apply the upstream cumulative patch and compile the package: | ||
CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | ||
--libdir=/usr/lib64 --enable-shared && | --libdir=/usr/lib64 --enable-shared && | ||
| Line 100: | Line 93: | ||
|-valign="top" | |-valign="top" | ||
!Installed Libraries: | !Installed Libraries: | ||
|libmpfr.{la,a,so | |libmpfr.{la,a,so*} | ||
|} | |} | ||
Revision as of 16:04, 30 September 2008
| Download Source: | http://www.mpfr.org/mpfr-current/mpfr-2.4.1.tar.bz2 |
|---|
Introduction to MPFR
The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding).
Project Homepage: http://www.mpfr.org/
Dependencies
Required
- GMP >= 4.1.0
Non-Multilib
Apply the upstream cumulative patch and compile the package:
./configure --prefix=/usr --enable-shared && make
Install the package:
make install
Multilib
32Bit
Apply the upstream cumulative patch and compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr \
--enable-shared &&
make
Install the package:
make install
N32
Apply the upstream cumulative patch and compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
--libdir=/usr/lib32 --enable-shared &&
make
Install the package:
make install
64Bit
Apply the upstream cumulative patch and 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 Directories: | None |
|---|---|
| Installed Programs: | None |
| Installed Libraries: | libmpfr.{la,a,so*} |
Short Descriptions
| libmpfr | is a C library for multiple-precision floating-point computations with exact rounding. |
|---|