A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « GNU Binutils | HOME | GNU GMP 32-bit » |
Name: GMP 64-bit
Summary: A library for working with large numbers
License: GPL v3 or later
Version: 6.3.0
URL: http://ftp.gnu.org/pub/gnu/gmp/gmp-6.3.0.tar.xz
Average Build Time: 0.3 SBU
Used Install Space: 54 MiB
To configure GMP 64-bit for install into the build root, run the following commands:
sed -i '/long long t1;/,+1s/()/(...)/' configure
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libexecdir=/usr/lib64 \
--enable-cxx \
--disable-static \
--docdir=/usr/share/doc/gmp-6.3.0
To compile GMP 64-bit, run the following commands:
make
make html
Next, run the test suite:
make check 2>&1 | tee gmp-check-log
awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log
Finally, to install GMP 64-bit into the build tree, run the following commands:
make install
make install-html
rm -fv /usr/lib64/lib{gmp,gmpxx}.la
NOTE: Do not delete the unpacked sources after build.
| Contents | |
|---|---|
| Installed Libraries | libgmp.so and libgmpxx.so |
| Installed Directories | /usr/share/doc/gmp-6.3.0 |
| Navigation | ||
|---|---|---|
| « GNU Binutils | HOME | GNU GMP 32-bit » |