summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2021-04-27 21:23:08 +0200
committerAndy Wingo <wingo@pobox.com>2021-04-27 21:23:08 +0200
commit75babf8df92b664e6118c839bad6f63e254a212b (patch)
treee17756909d2f7e592111c5a0351990032ffe976f /NEWS
parent7f18b659b93e97645546871fa93721ca31459045 (diff)
downloadguile-75babf8df92b664e6118c839bad6f63e254a212b.tar.gz
Add GUILE_INSTALL_GMP_MEMORY_FUNCTIONS to NEWS; use at build-time
* NEWS (GUILE_INSTALL_GMP_MEMORY_FUNCTIONS): Update * libguile/numbers.c: Add needed include. * meta/build-env.in (GUILE_INSTALL_GMP_MEMORY_FUNCTIONS): Set when building Guile.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 397ff6c43..477592373 100644
--- a/NEWS
+++ b/NEWS
@@ -67,7 +67,11 @@ GMP, and so does Guile. Since Guile 2.0.4, Guile has installed libgc as
the GMP allocator, so since then, Guile-GnuTLS has been buggy.
Therefore, the default is now to not install libgc as the GMP allocator.
-This may slow down some uses of bignums.
+This may slow down some uses of bignums. If you know that your Guile
+program will never use a library that uses GMP, you can set the
+GUILE_INSTALL_GMP_MEMORY_FUNCTIONS=1 in your environment. Guile sets
+this environment variable when building Guile, for example. See
+"Environment Variables" in the manual, for more.
In some future, Guile may switch to GMP's more low-level "MPN" API for
working with bignums, which would allow us to regain the ability to use