> From: [email protected] (Niels Möller) > Cc: [email protected] > Date: Mon, 13 Nov 2017 18:16:59 +0100 > > srcdir/configure --host i686-w64-mingw32 --enable-mini-gmp --enable-fat > --disable-shared > ... make check ... > err:module:import_dll Library libgcc_s_sjlj-1.dll (which is needed by > L"Z:\\home\\nisse\\build\\nettle-w32\\testsuite\\cxx-test.exe") not found > err:module:LdrInitializeThunk Main exe initialization for > L"Z:\\home\\nisse\\build\\nettle-w32\\testsuite\\cxx-test.exe" failed, status > c0000135 > FAIL: cxx
The libgcc DLL is part of the GCC installation, so maybe you should tinker with your PATH, or copy the DLL to some other directory. > > gcc -I. -DHAVE_CONFIG_H -O2 -gdwarf-4 -g3 -ggdb3 -Wall -W > > -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes > > -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT getopt.o -MD -MP > > -MF getopt.o.d -c getopt.c \ > > && true > > In file included from getopt.c:98:0: > > getopt.h:169:1: warning: function declaration isn't a prototype > > [-Wstrict-prototypes] > > extern int getopt (); > > ^~~~~~ > > I'm not going to fix warnings about the getopt files, unless there's > some really easy solution (e.g., getting a later version from the gnulib > repository). AFAIK, current versions of getopt from Gnulib don't have this problem, but the source looks very different. I agree that this is not a significant problem. > > Also, the package lacks the de-facto standard install-strip target, > > which means packagers will have to strip by hand. > > Which files would you like stripped? Only the executables installed from > the tools/ directory? > (https://www.gnu.org/prep/standards/standards.html#Standard-Targets only > mention install-strip affecting executables). > > Or do you also want library files stripped in some way which deletes > debug info but leaves the symbol tables needed for linking? Both executables and libraries (DLL and .a). The way to do this is to use "strip --strip-unneeded" for DLLs and "strip --strip-debug" followed by ranlib for static *.a libraries. I believe the latter is identical to what is done on Unix. > Not sure if strip --strip-debug is portable It is, but it's only appropriate for static libraries. > or how install -s invokes the strip program. I believe "install -s" is only for executable programs, not for libraries. Thanks. _______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
