package gmp
The GNU Multiple Precision Arithmetic Library
Install
Dune Dependency
Authors
Maintainers
Sources
gmp-6.2.1-3.tbz
sha256=eb2ec4143f5a74f10d7fc7318c323328f3c4fa5455ffd793f6e813423b27f66b
sha512=975e4808c6887d5e3ac9beb51e9947bbc3b8333abd559f147a6ab6f36731d61de5a886e7b1eda33cd421def906908444cf702500c0f6990a5b57f1d16359b795
Description
Dune packaging of the GMP library, suitable for cross-compilation.
Published: 25 Aug 2022
README
GMP - Packaged with Dune
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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page