Nikos Mavrogiannopoulos nmav@gnutls.org writes:
I tried to build this branch using mingw32 and I got linking issues with libnettle.a and libhogweed.a (in that system I get libnettle.dll.a.
Is that a general problem, or just with this branch? There shouldn't be any windows-related changes there.
I just tested
$ ~/hack/nettle-stable/configure --host=i586-mingw32msvc $ make check
and that works fine for me (EMULATOR=wine). I guess you're doing something differently, maybe native compilation, or w*ndows-8 on arm, or something?
By fixing the makefiles to link with the LIBNETTLE_FILE and LIBHOGWEED_FILE fixes the issue in mingw, but creates a problem on linux where libnettle.so is built but LIBNETTLE_FILE is libnettle.so.4.7.
If the currrent setup doesn't work, you need to change the setup of LIBNETTLE_FILE (or invent some new variables if required) and set it all up inside the
case "$host_os"
in configure.ac. And then substitute those values at the right place in Makefile.in. I don't remember exactly how it's supposed to work, but maybe the _FORLINK variables are the ones you need.
Regards, /Niels