# GMP ``` sudo apt install m4 texinfo clang lld libc++-dev CXXFLAGS="-lc++" ./configure --enable-cxx make sudo make install : <<'END' /Applications/Xcode.app/Contents/Developer/usr/bin/make install-recursive Making install in tests Making install in . make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in devel make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in mpn make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in mpz make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in mpq make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in mpf make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in rand make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in misc make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in cxx make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in mpn make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in mpz make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in mpq make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in mpf make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in printf make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in scanf make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in rand make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in cxx make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in demos Making install in calc /Applications/Xcode.app/Contents/Developer/usr/bin/make install-am make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. Making install in expr make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in tune make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in doc make[3]: Nothing to be done for `install-exec-am'. .././install-sh -c -d '/usr/local/share/info' /usr/bin/install -c -m 644 ./gmp.info ./gmp.info-1 ./gmp.info-2 '/usr/local/share/info' install-info --info-dir='/usr/local/share/info' '/usr/local/share/info/gmp.info' ./install-sh -c -d '/usr/local/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c libgmp.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libgmp.10.dylib /usr/local/lib/libgmp.10.dylib libtool: install: (cd /usr/local/lib && { ln -s -f libgmp.10.dylib libgmp.dylib || { rm -f libgmp.dylib && ln -s libgmp.10.dylib libgmp.dylib; }; }) libtool: install: /usr/bin/install -c .libs/libgmp.lai /usr/local/lib/libgmp.la libtool: install: /usr/bin/install -c .libs/libgmp.a /usr/local/lib/libgmp.a libtool: install: chmod 644 /usr/local/lib/libgmp.a libtool: install: ranlib /usr/local/lib/libgmp.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libgmp.a(mp_clz_tab.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libgmp.a(obprintf.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libgmp.a(obvprintf.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libgmp.a(obprntffuns.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libgmp.a(repl-vsnprintf.o) has no symbols ./install-sh -c -d '/usr/local/include' /usr/bin/install -c -m 644 gmp.h '/usr/local/include' ./install-sh -c -d '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 gmp.pc '/usr/local/lib/pkgconfig' /Applications/Xcode.app/Contents/Developer/usr/bin/make install-data-hook +-------------------------------------------------------------+ | CAUTION: | | | | If you have not already run "make check", then we strongly | | recommend you do so. | | | | GMP has been carefully tested by its authors, but compilers | | are all too often released with serious bugs. GMP tends to | | explore interesting corners in compilers and has hit bugs | | on quite a few occasions. | | | +-------------------------------------------------------------+ END ``` ## Windows ``` pacman -Syu pacman -S --needed base-devel mingw-w64-ucrt-x86_64-clang \ mingw-w64-ucrt-x86_64-gdb m4 ./configure --prefix=/d/Temp/gmp-5.0.1-install \ --build=x86_64-w64-mingw32 \ --host=x86_64-w64-mingw32 \ --disable-static --enable-shared $ make install make install-recursive make[1]: Entering directory '/c/Users/skudupud/workspace/GMP' Making install in tests make[2]: Entering directory '/c/Users/skudupud/workspace/GMP/tests' Making install in . make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/tests' make[4]: Entering directory '/c/Users/skudupud/workspace/GMP/tests' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests' Making install in devel make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/devel' make[4]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/devel' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/devel' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/devel' Making install in mpn make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/mpn' make[4]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/mpn' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/mpn' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/mpn' Making install in mpz make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/mpz' make[4]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/mpz' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/mpz' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/mpz' Making install in mpq make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/mpq' make[4]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/mpq' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/mpq' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/mpq' Making install in mpf make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/mpf' make[4]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/mpf' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/mpf' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/mpf' Making install in rand make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/rand' make[4]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/rand' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/rand' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/rand' Making install in misc make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/misc' make[4]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/misc' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/misc' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/misc' Making install in cxx make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/cxx' make[4]: Entering directory '/c/Users/skudupud/workspace/GMP/tests/cxx' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/cxx' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests/cxx' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP/tests' Making install in mpn make[2]: Entering directory '/c/Users/skudupud/workspace/GMP/mpn' make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/mpn' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/mpn' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP/mpn' Making install in mpz make[2]: Entering directory '/c/Users/skudupud/workspace/GMP/mpz' make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/mpz' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/mpz' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP/mpz' Making install in mpq make[2]: Entering directory '/c/Users/skudupud/workspace/GMP/mpq' make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/mpq' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/mpq' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP/mpq' Making install in mpf make[2]: Entering directory '/c/Users/skudupud/workspace/GMP/mpf' make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/mpf' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/mpf' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP/mpf' Making install in printf make[2]: Entering directory '/c/Users/skudupud/workspace/GMP/printf' make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/printf' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/printf' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP/printf' Making install in scanf make[2]: Entering directory '/c/Users/skudupud/workspace/GMP/scanf' make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/scanf' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/scanf' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP/scanf' Making install in rand make[2]: Entering directory '/c/Users/skudupud/workspace/GMP/rand' make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/rand' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/rand' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP/rand' Making install in cxx make[2]: Entering directory '/c/Users/skudupud/workspace/GMP/cxx' make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/cxx' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/cxx' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP/cxx' Making install in demos make[2]: Entering directory '/c/Users/skudupud/workspace/GMP/demos' Making install in calc make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/demos/calc' make install-am make[4]: Entering directory '/c/Users/skudupud/workspace/GMP/demos/calc' make[5]: Entering directory '/c/Users/skudupud/workspace/GMP/demos/calc' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/c/Users/skudupud/workspace/GMP/demos/calc' make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP/demos/calc' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/demos/calc' Making install in expr make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/demos/expr' make[4]: Entering directory '/c/Users/skudupud/workspace/GMP/demos/expr' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP/demos/expr' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/demos/expr' make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/demos' make[4]: Entering directory '/c/Users/skudupud/workspace/GMP/demos' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP/demos' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/demos' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP/demos' Making install in tune make[2]: Entering directory '/c/Users/skudupud/workspace/GMP/tune' make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/tune' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/tune' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP/tune' Making install in doc make[2]: Entering directory '/c/Users/skudupud/workspace/GMP/doc' make[3]: Entering directory '/c/Users/skudupud/workspace/GMP/doc' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/ucrt64/share/info' /usr/bin/install -c -m 644 ./gmp.info ./gmp.info-1 ./gmp.info-2 '/ucrt64/share/info' install-info --info-dir='/ucrt64/share/info' '/ucrt64/share/info/gmp.info' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP/doc' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP/doc' make[2]: Entering directory '/c/Users/skudupud/workspace/GMP' make[3]: Entering directory '/c/Users/skudupud/workspace/GMP' /usr/bin/mkdir -p '/ucrt64/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c libgmp.la libgmpxx.la '/ucrt64/lib' libtool: install: /usr/bin/install -c .libs/libgmp.dll.a /ucrt64/lib/libgmp.dll.a libtool: install: base_file=`basename libgmp.la` libtool: install: dlpath=`/bin/sh 2>&1 -c '. .libs/'libgmp.la'i; echo libgmp-10.dll'` libtool: install: dldir=/ucrt64/lib/`dirname ../bin/libgmp-10.dll` libtool: install: test -d /ucrt64/lib/../bin || mkdir -p /ucrt64/lib/../bin libtool: install: /usr/bin/install -c .libs/libgmp-10.dll /ucrt64/lib/../bin/libgmp-10.dll libtool: install: chmod a+x /ucrt64/lib/../bin/libgmp-10.dll libtool: install: if test -n '' && test -n 'strip --strip-unneeded'; then eval 'strip --strip-unneeded /ucrt64/lib/../bin/libgmp-10.dll' || exit 0; fi libtool: install: /usr/bin/install -c .libs/libgmp.lai /ucrt64/lib/libgmp.la libtool: install: /usr/bin/install -c .libs/libgmpxx.dll.a /ucrt64/lib/libgmpxx.dll.a libtool: install: base_file=`basename libgmpxx.la` libtool: install: dlpath=`/bin/sh 2>&1 -c '. .libs/'libgmpxx.la'i; echo libgmpxx-4.dll'` libtool: install: dldir=/ucrt64/lib/`dirname ../bin/libgmpxx-4.dll` libtool: install: test -d /ucrt64/lib/../bin || mkdir -p /ucrt64/lib/../bin libtool: install: /usr/bin/install -c .libs/libgmpxx-4.dll /ucrt64/lib/../bin/libgmpxx-4.dll libtool: install: chmod a+x /ucrt64/lib/../bin/libgmpxx-4.dll libtool: install: if test -n '' && test -n 'strip --strip-unneeded'; then eval 'strip --strip-unneeded /ucrt64/lib/../bin/libgmpxx-4.dll' || exit 0; fi libtool: install: /usr/bin/install -c .libs/libgmpxx.lai /ucrt64/lib/libgmpxx.la /usr/bin/mkdir -p '/ucrt64/include' /usr/bin/install -c -m 644 gmp.h '/ucrt64/include' /usr/bin/mkdir -p '/ucrt64/include' /usr/bin/install -c -m 644 gmpxx.h '/ucrt64/include' /usr/bin/mkdir -p '/ucrt64/lib/pkgconfig' /usr/bin/install -c -m 644 gmp.pc gmpxx.pc '/ucrt64/lib/pkgconfig' make install-data-hook make[4]: Entering directory '/c/Users/skudupud/workspace/GMP' +-------------------------------------------------------------+ | CAUTION: | | | | If you have not already run "make check", then we strongly | | recommend you do so. | | | | GMP has been carefully tested by its authors, but compilers | | are all too often released with serious bugs. GMP tends to | | explore interesting corners in compilers and has hit bugs | | on quite a few occasions. | | | +-------------------------------------------------------------+ make[4]: Leaving directory '/c/Users/skudupud/workspace/GMP' make[3]: Leaving directory '/c/Users/skudupud/workspace/GMP' make[2]: Leaving directory '/c/Users/skudupud/workspace/GMP' make[1]: Leaving directory '/c/Users/skudupud/workspace/GMP' ```