The Fedora mingw-w64 cross-compiler stack has arrived!
Richard W.M. Jones
rjones at redhat.com
Sat May 22 07:50:51 UTC 2010
On Mon, May 17, 2010 at 12:35:21PM -0500, Michael Cronenworth wrote:
> Michael Cronenworth wrote:
> > Good job Erik and Richard! I will be testing this out ASAP with my
> > $DAYJOB apps and Win 7 64-bit.
>
> My apps require GnuTLS, which I had to rebuild myself. I encountered a
> few minor issues.
>
> The first was that the winsock2.h and winsock.h both define struct
> fd_set, but do not protect it like the 32-bit MinGW includes do. This
> leads to "multiple definition" errors as libgcrypt and GnuTLS sometimes
> include "windows.h" instead of "winsock2.h" and "windows.h" calls
> "winsock.h". I found the cases where "windows.h" is used it isn't even
> required and I have removed them in my RPMs.
>
> There are also a few warnings about pointer size and (s)printf
> formatting (long vs long long), which is to be expected. I'll be working
> on these as libgcrypt is unstable at the moment.
These sorts of issues need to go upstream to the respective projects.
Fedora MinGW is just packaging stuff.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html
More information about the mingw
mailing list