package gmp
The GNU Multiple Precision Arithmetic Library
Install
Dune Dependency
Authors
Maintainers
Sources
gmp-6.2.1-5.tbz
sha256=26b24412e18b511f1b8af6f9bf891452e214e32773fdf2f68004310dc9f016f5
sha512=d3f7cb9043bb387c95d2f95fa82d832dc00287a8ba039ac82b573c849943c181045d61af32b3f47ae48d43c85ab52ab23570a8c4095a7d84c854f26aa38a0844
Description
Dune packaging of the GMP library, suitable for cross-compilation.
Published: 16 Feb 2024
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