Difference between revisions of "MPFR"
From CBLFS
Jump to navigationJump to search(6 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
== Dependencies == | == Dependencies == | ||
− | + | === Required === | |
+ | * [[GMP]] | ||
− | === | + | === Optional === |
− | * [[ | + | * [[TeTeX]] for building documentation. |
== Non-Multilib == | == Non-Multilib == | ||
Line 18: | Line 19: | ||
Compile the package: | Compile the package: | ||
− | |||
./configure --prefix=/usr --enable-shared && | ./configure --prefix=/usr --enable-shared && | ||
make | make | ||
Line 32: | Line 32: | ||
Compile the package: | Compile the package: | ||
− | |||
CC="gcc ${BUILD32}" ./configure --prefix=/usr \ | CC="gcc ${BUILD32}" ./configure --prefix=/usr \ | ||
--enable-shared && | --enable-shared && | ||
Line 45: | Line 44: | ||
Compile the package: | 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 58: | Line 56: | ||
Compile the package: | 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 90: | Line 87: | ||
== Contents == | == Contents == | ||
− | + | {| style="text-align: left;" | |
+ | |-valign="top" | ||
+ | !Installed Directories: | ||
+ | |None | ||
+ | |-valign="top" | ||
+ | !Installed Programs: | ||
+ | |None | ||
+ | |-valign="top" | ||
+ | !Installed Libraries: | ||
+ | |libmpfr.{la,a,so*} | ||
+ | |} | ||
+ | |||
+ | === Short Descriptions === | ||
+ | |||
+ | {| style="text-align: left;" | ||
+ | |-valign="top" | ||
+ | !libmpfr | ||
+ | |is a C library for multiple-precision floating-point computations with exact rounding. | ||
+ | |} | ||
+ | |||
+ | [[Category:Programming]] |
Latest revision as of 16:00, 19 March 2009
Download Source: | http://www.mpfr.org/mpfr-current/mpfr-2.4.1.tar.bz2 |
---|
Contents
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
Optional
- TeTeX for building documentation.
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 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. |
---|