Building libnettle on MS-Windows
nisse at lysator.liu.se
Tue Jan 17 13:58:37 CET 2012
Eli Zaretskii <eliz at gnu.org> writes:
>I found that having this in configure.ac:
> is probably all you need.
I have added this now.
> Yes, except that I would use _setmode, as that will also work for
> Windows compilers other than MinGW.
I also found out that dlls apperantly weren't linked into the .lib
directory, so I tried to fix that as well. This directory is added to
LD_LIBRARY_PATH (for ELF systems) and PATH (for windows), when running
Unfortunately, I couldn't figure out how to get wine to add the .lib
directory to the initial PATH. So for now, as a workaround, I create
symlinks also in the testsuite and examples subdirectories in the build
tree, when cross compiling for windows. With that change,
./configure '--host=i586-mingw32msvc' '--enable-shared'
works for me.
I just put up a prerelease at
.sig), any testing (in particular on windows) is appreciated.
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
More information about the nettle-bugs