- or download this
PREFIX="/usr/local"
...
--build="${TRIPLE}" --prefix="${PREFIX}" --disable-shared --enable-
+static \
--enable-cxx --enable-assembly --enable-fft
- or download this
cd gmp-6.1.2
sh /path/to/configure-gmp.sh
...
sudo make install-strip
- or download this
PREFIX="/usr/local"
...
--disable-dependency-tracking --disable-assert --enable-thread-safe
+ \
--with-gmp="${PREFIX}"
- or download this
cd mpfr-3.1.2
patch -N -Z -p1 < /path/to/allpatches.txt
...
sudo make install-strip
- or download this
$ time /opt/perl-5.26.1/bin/perl -Mntheory=:all -E 'say Pi(1e6)' | wc
+-c
1000002
...
user 0m1.408s
sys 0m0.017s