gnutls 3.0.4 and mingw-w64 build issues

Hoyt, David hoyt6 at llnl.gov
Fri Oct 21 22:47:08 CEST 2011


> Ah ok... Because it is cross build the detection didn't work properly 
> and you were trying to compile the 32-bit version of the files. Can you 
> try the --host x86_64 configure option?

It's sort of a cross build. It's a 64-bit host OS, but I'm running all the build tools in 32-bit mode (Windows-on-Windows, WOW), so everything should appear to be 32-bit and there shouldn't be any distinction.

I'll retry with the --host option, however, as soon as possible and let you know the results.

With what I had, configure gives me the following output:

 version:          3.0.4 shared 30:0:2
 Host type:        i686-pc-mingw32
 Install prefix:   ~/native/staging
 Compiler:         gcc -mtune=i686 -mthreads -std=gnu99
 [...]

Host type *should* be, I believe, "i686-w64-mingw32" and that may be what's leading to the problems I'm seeing w/ the assembly.

> I've added more -Ibuilddir stuff. I wonder why srcdir is not enough in 
> this build.

I believe it's because I don't build inside the source directory and gnulib generates some headers, but they're generated in the build dir and not the source dir (which sounds correct to me).





More information about the Gnutls-help mailing list