gmp

The GNU Multiple Precision Arithmetic Library
README

More info on GMP: https://gmplib.org/

To use GMP in a cross-compilation-friendly way, simply add this library in
your library dependencies and make sure it is locally fetched using the
opam-monorepo plugin (https://github.com/ocamllabs/opam-monorepo).

Example Dune configuration:

(library my_library)
 (foreign_stubs (language c) (include_dirs (lib gmp)))
 (libraries gmp)
 ...
)

This configuration enables the inclusion of gmp.h and the usage of gmp functions,
even in a cross-compiled environment such as MirageOS.

Install
Published
28 Sep 2022
Sources
gmp-6.2.1-4.tbz
sha256=cc8fa6fa12f7aba1947b6da7b5c527b8b9a1fb0c655276be51d0718002232b71
sha512=94b8a0a30762a2342ca70e8e5365489aea90bba12794bae86cb6676baacac0639be981131d6ee610dbf5961355a55426546f446e918c5223e363390a85bd3809
Dependencies
dune
>= "2.6"
ocaml
>= "4.02.0"
Reverse Dependencies