cross-compiling to mingw32

Simon Josefsson jas at extundo.com
Fri Jan 20 14:21:43 CET 2006


Werner Koch <wk at gnupg.org> writes:

> On Thu, 19 Jan 2006 11:17:03 +0100, Simon Josefsson said:
>
>> resulting library isn't usable, it seems all symbols are prefixed with
>> an unnecessary '_' if I run 'nm' on it.  Any ideas?
>
> Check the output of 
>
>   GNUPG_SYS_SYMBOL_UNDERSCORE()
>
> in configure.ac it is later used in mpi/config.links to generate sysdep.h:
>
>    if test x$ac_cv_sys_symbol_underscore = xyes; then
>   
> A special case for mingw32 might be justified.  Alternativly you 
>
> ./configure --disable-asm 

That seem to work fine, thanks!  The self tests doesn't build,
although I suppose that is a minor issue.  I'm pretty sure I have
tried that before, and failed, but most likely the mingw32 packages
have evolved meantime.

Regards,
Simon



More information about the Gcrypt-devel mailing list