On Sat, 23 Mar 2013, Martin Storsjö wrote:
---
gmp-glue.c | 26 ++++++++++++++++++++++++++
gmp-glue.h | 26 ++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
In addition to these, a fallback is needed for mpn_sqr if building with
GMP 4.2.1 (which people who want to stay away from LGPLv3 might want to
do), but that one doesn't seem to be quite as trivial as these.
Additionally, I now see that eccdata.c (which is built for the build
system, not for the target) requires GMP as well - this does complicate
some situations where one cross-builds nettle on a system that doesn't
have GMP installed system wide already. (E.g., cross building from OS X to
windows, which I do regularly.) In these setups, one obviously
cross-builds GMP for the target, but adding a step to build a local copy
of GMP just for the build-time tools does complicate things slightly.
Or would the files produced by eccdata.c be architecture/target
independent? In those cases, they could perhaps be included in release
tarballs, to avoid the host-GMP-requirement when crosscompiling?
// Martin
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs